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/03/06 11:45:18 UTC
DO NOT REPLY [Bug 6911] New: -
validating parser fails to report undeclared element
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=6911>.
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=6911
validating parser fails to report undeclared element
Summary: validating parser fails to report undeclared element
Product: Xerces2-J
Version: 2.0.0
Platform: PC
OS/Version: Windows 9x
Status: NEW
Severity: Normal
Priority: Other
Component: DOM
AssignedTo: xerces-j-dev@xml.apache.org
ReportedBy: avogt@skillsonline.de
I use the dom.Counter sample application in xerces-2_0_0\xercessamples.jar to
validate some XML code like this:
java <classpath skipped> dom.Counter -v table.xml
No error is reported, even though I commented out the declaration of the tr
element in table1.dtd
The error is reported by Xerces1's dom.DOMCount sample application:
[Error] table.xml:3:13: Element type "tr" must be declared.
Interestingly, Xerces2's dom.Counter application DOES report the same error if I
use the smaller table2.dtd instead of table1.dtd
I will append the table.xml, table1.dtd, and table2.dtd files to this bug later.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org