logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

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

Subject: 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


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
List: sax-devel, sax-devel@xxxxxxxxxxxxxxxxxxxxx
See:  http://www.saxproject.org/
https://lists.sourceforge.net/lists/listinfo/sax-devel



<Prev in Thread] Current Thread [Next in Thread>