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

Re: version numbers and infosets

how to say version numbers
In article <003c01c231eb$96f290f0$fe193044@tbp1> Tom Passin wrote:

>Richard, would you clarify this point?  I saw that the production required
>"1.0", but withou the requirement to produce an error, my own interpretation
>would be that a processor could accept, say, "1.1" and proceed without an

I think that is the best solution - see below.  But:

> Was the idea that the production would be so definitive that
>obviously a well-formedness error should be produced?

Yes.  But I have since been persuaded that it would be a mistake to
require 1.0 processors to reject 1.1-labelled documents that are
otherwise well-formed XML 1.0.

>The rationale for the change was said to be XML 1.1, and personally I think
>it should not have been published until 1.1 was published - they should have
>been coordinated.  What if 1.1 never happens in the anticipated form?  What
>of the change to 1.0 then?

Yes, it was intended to pave the way for XML 1.1.

If there was never a new version of XML, it wouldn't really matter
what 1.0 said about version numbers, because there would never be any
later-than-1.0 documents.  If there was a new version that was quite
different from the proposed 1.1, then that might have been a problem.

I must say that some of the reactions to this seem excessive.  Does
anyone have any real documents with a version number later than 1.0?
I don't think so.  No real documents are broken by any change
concerning versions other than 1.0.  This is always the most important
point when we are considering errata.  Whether implementations have to
change is important, but less so, because there are far fewer
implementors than users.

I think the best compromise is to say that documents labelled with a
version other than 1.0 are not well-formed XML 1.0 documents, but that
an XML 1.0 parser may accept them.  This breaks no documents and no
implementations, but it allows us to unambiguously state the version
of a document.  Can anyone see any problems with it?

-- Richard


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.