[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

DTD versioning

  • From: "John Wilson" <tug@w...>
  • To: <xml-dev@i...>
  • Date: Tue, 7 Apr 1998 12:53:41 +0100

dtd versioning
I'm very new to this XML stuff, so perhaps I'm missing the point. Any advice
gratefully received.

I'm principally interested in using XML to pass data between computer
programs. One of the problems I foresee is that I may well want to extend or
change the DTD which represents the data exchanged as time goes by. However,
I will have installed code which expects to see the data as described by a
previous version of the DTD.

I would expect the DTD spec to deal with this in one of three ways:

1/ To have a set of rules that specifies what changes or additions I can
make to a DTD without breaking the original DTD(for example, adding an
attribute or a default value to an existing attribute) and to have an
automated way of checking that I've applied these rules.

2/ A way of specifying that the new DTD extends the old.

3/ A Relational database view type mechanism that gives a set of simple
mechanical transformations that turns the data which corresponds to one DTD
to another.

In case 1/ the new DTD would just say that it is a valid superset of the old
DTD, in case 2/ the DTD new DTD would specify the old and just contain the
changes and additions, in case 3/ the DTD would refer to the view to be
applied to transform the data to a form which is defined by the old DTD.

I would expect the XML parser to serve up the data  as described by the old
DTD and that it (the parser) would suppress attributes, apply
transformations, etc so that the data would appear in this form.

I suspect that I can do some or all these things with XSL, but that's really
hitting a small problem with a very big hammer.

John Wilson
The Wilson Partnership
5 Market Hill, Whitchurch, Aylesbury, Bucks HP22 4JB, UK
+44 1296 641072, +44 976 611010(mobile), +44 1296 641874(fax)
Mailto: tug@w...



xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.