Guest msasikala Posted March 16, 2006 Share Posted March 16, 2006 Hi, I have to validate an xml file against an xsd using dom parser. My xsd is placed in a jar so I have used the "setEntityResolver" method of the domparser. My xsd inturn refers to XMLSchema.dtd that refers to datatypes.dtd. With the entityresolver I'm getting the following error org.xml.sax.SAXParseException: The markup declarations contained or pointed to by the document type declaration must be well-formed.Can anyone tell me how to solve this problem. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now