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: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
