xerces-j-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henry Chan" <hc...@datawave.ca>
Subject XMLGrammarBuilder bug?
Date Tue, 12 Nov 2002 20:39:47 GMT
Hi,

I was just testing the XMLGrammarBuilder in the samples/xni directory.

After running it, I got:
C:\xerces-2_2_0\samples>java xni.XMLGrammarBuilder -d
c:\xerces-2_2_0\data\personal.dtd -i c:\xerces-2_2_0\data\personal.xml
[Error] personal.xml:5:12: cvc-elt.1: Cannot find the declaration of
element 'personnel'.


Note that I modified personal.xml so that the DOCTYPE is commented out:
<?xml version="1.0" encoding="UTF-8"?>
<!--
<!DOCTYPE personnel SYSTEM "personal.dtd">
-->
<personnel>
...
</personnel>


Any ideas?

Thx,
Henry


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


Mime
View raw message