You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2003/04/08 16:14:07 UTC

DO NOT REPLY [Bug 18789] - VersionNotSupported error raised while parsing an XML1.1 document with an external entity with version=1.0 in its textDecl

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18789>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18789

VersionNotSupported error raised while parsing an XML1.1 document with an external entity with version=1.0 in its textDecl





------- Additional Comments From mrglavas@ece.uwaterloo.ca  2003-04-08 14:14 -------
What if?

test.xml:
<?xml version='1.1'?>
<!DOCTYPE doc SYSTEM "test.dtd">
<doc>&e;</doc>

test.dtd:
<?xml version='1.0' encoding='UTF-8'?>
<!ELEMENT doc ANY>
<!ENTITY e SYSTEM "test.ent">

test.ent:
<?xml version='1.1' encoding='UTF-8'?>
blah

According to http://www.w3.org/TR/xml11/#sec4.3.4, can test.dtd which is a 1.0 
entity, refer to a 1.1 entity? Is this illegal?

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org