You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Malia Zaheer <mz...@technicacorp.com> on 2001/12/18 16:41:15 UTC
can't validate xml using xsd
I am getting an error trying to run the sample personal-schema.xml document
in /data folder to validate against personal.xsd. The error that I am
getting
is:
org.xml.sax.SAXException: Document root element "personnel", must match
DOCTYPE
root "null".
at org.apache.xerces.parsers.AbstractSAXParser.parse
(AbstractSAXParser.java:920)
at SCSXMLParser.init(SCSXMLParser.java:66)
at SCSXMLParser.<init>(SCSXMLParser.java:26)
at test.main(test.java:8)
What is going on? Please help ASAP because this bug is holding up my
project.
thanks,
Malia
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org