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

Re: An approach to let XML 2.n resources hold multiple entitie

Re:  An approach to let XML 2.n resources hold multiple	entitie
Micah Dubinko wrote:
> Since there are multiple versions of some vocabularies that can't be
> distinguished by the namespace, only by the DOCTYPE, something like this
> would help processors figure out what to do.

If this is an accurate statement of the problem, then I think that there 
are solutions out there. There are three separate issues:

  * multiple "related" namespaces
  * multiple versions of a namespace
  * multiple schemas for a single logical namespace

If you model your versions as different namespaces altogether, then you 
have no problem, just use different namespace declarations.

If you want to have a concept of multiple versions, then you could add a 
"version" attribute to your namespace and figure out what version you're 
dealing with through that.

If you want a single namespace and multiple schemas (whether for 
versioning or otherwise), you can use the XML Schema SchemaLocation 
attribute...or equivalent for other schema languages that have such a 

The current concensus view is that document types/vocabularies are 
distinct from schemas. The DOCTYPE declaration conflated them in a way 
that was harmful.

  Paul Prescod


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.
First Name
Last Name
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.