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

RE: The version number in XML documents


RE:  The version number in XML documents
> The XML Core WG solicits public feedback on making an 
> erratum-level change to XML 1.0, requiring that if a version 
> number appears in the XML declaration, that it must be "1.0".

You mean you want to abuse the errata process to make a retrospective
change to the spec that is not actually an erratum.
> 
> Currently the version number can be almost any sequence of 
> letters, digits, and period, but XML processors are allowed 
> to throw a fatal error if the value is anything but "1.0".  
> With the proposed erratum, it will be a fatal error to use 
> anything but "1.0".
> 
> The intention of this proposal is to give XML 1.0 parsers a 
> way to reject XML 1.1 documents up front by reason of version 
> incompatibility.
> 
They are already allowed to reject a document claiming version="1.1", as
you have just said. They are also allowed to process it, and accept it
provided it conforms in all other respects to XML 1.0. Since (one hopes)
the vast majority of documents that are well-formed under XML 1.1 will
also be well-formed under XML 1.0, why are you trying to make a
retrospective change that forces XML 1.0 parsers to reject such
documents?

It means that instead of having two kinds of parser out there, those
that conform to XML 1.0 and those that conform to XML 1.1, we'll have
three sorts, those two plus parsers that conformed to XML 1.0 at the
time they were released but don't conform to XML 1.0 as retrospectively
amended. Is this really an improvement?

Michael Kay
Software AG
home: Michael.H.Kay@n...
work: Michael.Kay@s... 


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.