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

Re: Changing Namespaces Between Specification Versions

  • From: Chuck Bearden <cbearden@r...>
  • To: Webb Roberts <webb@w...>
  • Date: Thu, 23 Apr 2009 09:28:03 -0500

Re: Changing Namespaces Between Specification Versions
Webb Roberts wrote:
> On Wed, Apr 22, 2009 at 3:17 PM, Chuck Bearden <cbearden@r...> wrote:
>> [...]
>> The decision was made (a) to add a version attribute to the root element,
>> and (b) not to change the namespace URI (which was already unversioned).
>>  Did the maintainers of EgXML make the right choice?
> 
> What happens when a message needs to be constructed, exchanged, and
> validated, which contains content defined by both v1 and v2? A
> majority of schema-validating XML parsers support only a single schema
> for a given namespace on a particular validation pass.
 >
> What happens when a message is constructed that only uses content from
> v1 or v2, without using the designated root element?  How does the
> receiver determine the appropriate schema when the version is not
> explicitly referenced?

In the case I described, the instances are all documents, and little or no 
exchange happens outside the repository/CMS system.  Within the repository, it 
is a hard constraint that an instance conforms either to v1 or v2.  A document 
that isn't valid against v2 cannot be published in the repository.

I forgot to mention that EgXML permits the use of MathML in certain content 
models, but I'm not sure how much bearing that has on the version question.

Chuck
-- 
Chuck Bearden (cbearden@r... ; 713.348.3661)
http://cnx.org/


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.