OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   SAX and XML Version (was Re: [xml-dev] JSR 206 and SAX)

[ Lists Home | Date Index | Thread Index ]

Another issue that has been covered, though not fully, is changes necessary
in getXMLVersion. Currently the wording is:

"Returns the version of XML used for the entity. This will normally be the
identifier from the current entity's <?xml version='...' ...?> declaration,
or be defaulted by the parser.

At this writing, only one version ("1.0") is defined, but it seems likely
that a new version will be defined which has slightly different rules about
which characters are legal in XML names."

Clearly, this needs to change-- but beyond the obvious adding of "1.1" as
allowable I wonder if the semantics of getXMLVersion (which is still
technically in beta) need to change. According to XML 1.1 if docuemnt is an
XML 1.1 document then ALL entities within the document must be treated as
though they are XML 1.1. Should getXMLVersion return the label, the
inference, or base it on the primary document version indicator? Basically
the question is whether or not the getXMLVersion should return the effective
version or the label. [1]


Jeff Rafter


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS