DTD/Schema versioning. was Re: Other areas that haven't been discussed.

New Message Reply About this list Date view Thread view Subject view Author view

From: Michael Lake (mikel_at_speleonics.com.au)
Date: Sun Feb 18 2001 - 03:58:14 CET


Received: (from mdom_at_localhost) by karto.ethz.ch (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id EAA27879 for cavexml-outgoing; Sun, 18 Feb 2001 04:04:51 +0100
Received: from iggy.triode.net.au (IDENT:root_at_iggy.triode.net.au [203.63.235.1]) by karto.ethz.ch (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id EAA27875 for <cavexml_at_cartography.ch>; Sun, 18 Feb 2001 04:04:49 +0100
Received: from speleonics.com.au (mikel_at_dm1-20.triode.net.au [203.63.34.21]) by iggy.triode.net.au (8.11.1/8.10.1) with ESMTP id f1I37hh32190 for <cavexml_at_cartography.ch>; Sun, 18 Feb 2001 14:07:43 +1100
Message-ID: <3A8F3A46.E00CB122@speleonics.com.au>
Date: Sun, 18 Feb 2001 13:58:14 +1100
From: Michael Lake <mikel_at_speleonics.com.au>
X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.2.14 i686)
X-Accept-Language: en
To: cavexml_at_cartography.ch
Subject: DTD/Schema versioning. was Re: Other areas that haven't been discussed.
References: <Pine.GSO.4.05.10102111518080.26377-100000_at_cor.oz.cc.utah.edu> <3A87F448.8000501_at_aic.nrl.navy.mil>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-cavexml_at_karto.baug.ethz.ch
Precedence: bulk
Reply-To: cavexml_at_cartography.ch

Hi All,

> Subject: Other areas that haven't been discussed.
> Date: Thu, 8 Feb 2001 17:52:02 -0700 (MST)
> From: John Halleck
> A CaveXML version.
> XML may not have different versions, but any DTD or schema
> we use is likely to change over time, and I'd like to know
> what version I've been handed... if nothing else, just
> to tell the user that this file may have stuff I couldn't
> process. (Maybe in a root element?)
> <CaveXML version="1.0">
> ...
> </CaveXML>

XML Schema Part 1: Structures, W3C Candidate Recommendation 24 October
2000 states:

<schema
     id = ID
     targetNamespace = uriReference
     version = string
     {any attributes with non-schema namespace . . .}>
     Content....
</schema>

"The The attributes (id and version) are for user convenience, and this
specification
 defines no semantics for them."

So I would sugggest something like ...

<?xml version='1.0'?>
<!-- XSD for the UIS CaveXML Working Group -->

<schema xmlns='an appropriate URI will go here'
        version='0.1'>

Now declare elements etc.....

</schema>

This would be in a file called cavesurvey.xsd

I suggest we start internally with version 0.1 and up by 0.01 when we
make small changes. We use this version internally within our own group
and when we publish the first version for others to use we up the
version number to 1.0 for the release.

Mike
--------------------------------------------------------------------
Michael Lake
Active caver, Linux enthusiast and interested in anything technical.
Safety Convenor, Australian Speleological Federation
Owner, Speleonics (Australia)
--------------------------------------------------------------------


New Message Reply About this list Date view Thread view Subject view Author view

This archive was generated by hypermail 2b30 : Thu Mar 01 2001 - 18:00:01 CET