Hi, I am parsing an XML File using DOMParser from Xerces; I use
It seems that when it cannot find the DTD specified in the xml file xmlDocument , it throws an IOException. So how can I make it work without a DTD ? Thanks Chris
Or you can set a variety of features that may meet your needs. That way you don't have to switch back to the DocumentBuilder if you feel like keeping with the DOMParser, or have a need to keep with it.