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 2002/08/23 22:39:59 UTC
DO NOT REPLY [Bug 11989] New: -
[68] WFC: Entity Declared; Non-Validating with standalone="yes"
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=11989>.
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=11989
[68] WFC: Entity Declared; Non-Validating with standalone="yes"
Summary: [68] WFC: Entity Declared; Non-Validating with
standalone="yes"
Product: Xerces2-J
Version: 2.0.2
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: Other
AssignedTo: xerces-j-dev@xml.apache.org
ReportedBy: nddelima@ca.ibm.com
As per my understanding of WFC: Entity Declared of Production [68] of the XML
1.0 spec, if a document has standalone="yes" and an entity reference, the
entity reference MUST match an entity declaration that does not occur within
the external subset. The not-wf test case attached violates this but a Fatal
Error is not thrown.
Test.xml
<?xml version="1.0" standalone="yes" ?>
<!DOCTYPE root SYSTEM "test.dtd" [
<!ELEMENT root (#PCDATA)>
]>
<root>&ent;</root>
Test.dtd
<!ENTITY ent "ABCD">
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org