I am using IBM XML Parser 2.0.16. I am parsing an XML document that has no DTD. But my parser is giving errors related to DTD. How can I parse XML without DTD?

Ibrahim Levent

You can't parse because this version is not providing any support for this kind of parsing. Validity is one of the most important issue in XML structure. Validation is based on internal or external DTD. If you do not consider validation, you can parse yourself in your code without needing any XML parser. There are many tools that checks if your XML is well-formed or valid. You can use these tools.