Hi,

Why does Xerces 2.2 throw an exception and quit when
it encounters an entity reference (e.g., ®) even
though I have specified 

parser.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd";,
 false);

The parser throws the exception

org.xml.sax.SAXParseException: The entity "reg" was referenced, but not 
declared.

If I put a DOCTYPE declaration at the head of the file, Xerces
parses the file without any problem.

- Paul




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to