Re: [xml-dev] SAX Topic 2004-0002: XML 1.1 support

From
Karl Waclawek <>
To
David Megginson <>, XML Developers List <>
Date
2004-02-22T22:11:23Z
ID
<00d401c3f990$cf206740$0207a8c0@karl>
Thread
Re: [xml-dev] SAX Topic 2004-0002: XML 1.1 support
> - if a document is in XML 1.1, all of its entities must be as well;
>    in that case, should getXMLVersion report XML 1.1 as the default
>    even when an entity is explicity labelled as XML 1.0? (Jeff Rafter,
>    2004-02-19); should return the actual label (Norm Walsh,
>    2004-02-20); 

Should be the actual label. In case of error then the app 
will at least know why. Also, one could argue that getXMLVersion
should report what version the entity is declared as, not what
it should be.

is it OK for a processor to override a version label?
>    (Jeff Rafter, 2004-02-20)

If the document conforms to both versions, why not?
It depends on the application if there is a need
for keeping track of the original/initial version.

Karl