Hello, I would like to parse a Xml file without taking DTD and entities references in the document into account. I've succeeded to parse the DOM without the DTD by setting the features "http://apache.org/xml/features/nonvalidating/load-dtd-grammar" and "http://apache.org/xml/features/nonvalidating/load-external-dtd" but I have some problems with entities references (for example : ...–...) in the document. I've tried to set the feature "http://xml.org/sax/features/external-parameter-entities" or "http://xml.org/sax/features/external-general-entities", but I catch SAXNotSupportedException. (I use Xerces 1.4.4).
Is there a simple manner to ignore entities references in a document ? Thanks a lot for any help! Yannick --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
