Hi,

I have a problem while validating an XML file with an XML Schema. I am
getting the following error message, when the validation feature is set to
"true".

Error message is given below:

Parsing begins....
**Parsing Error**
Line: 6
URI: file:///C:/XMLTraining/xsdcontents.xml
Message: Document root element "JavaXML:Book", must match DOCTYPE root
"null".
Error in parsing: Error Encountered

If the validation feature is set to "false", it works fine.

Any help on this would greatly be appreciated.

Looking for a solution asap.

Kind Regards,
Harihara Kumar. J.S
Kesdee Technical Team
www.kesdee.com


Reply via email to