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 ji...@apache.org on 2004/04/12 23:19:56 UTC
[jira] Updated: (XERCERJ-221) validating parser fails to report undeclared element
The following issue has been updated:
Updater: Serge Knystautas (mailto:sergek@lokitech.com)
Date: Mon, 12 Apr 2004 2:18 PM
Changes:
Attachment changed from table1.dtd
---------------------------------------------------------------------
For a full history of the issue, see:
http://issues.apache.org/jira/browse/XERCERJ-221?page=history
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/XERCERJ-221
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XERCERJ-221
Summary: validating parser fails to report undeclared element
Type: Bug
Status: Resolved
Resolution: FIXED
Project: Xerces2-J
Assignee: Xerces-J Developers Mailing List
Reporter: Andreas Vogt
Created: Wed, 6 Mar 2002 10:45 AM
Updated: Mon, 12 Apr 2004 2:18 PM
Environment: Operating System: Windows 9x
Platform: PC
Description:
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.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org