Hi, I'm parsing (disabling validation) a document that declared a DTD but I would like to get the raw attribute values instead of the normalized values. In particular I need to keep entity references as they were written. I came up with this FAQ (http://xerces.apache.org/xerces-j/faq-write.html#faq-7) that seems to declare that it is impossible (i.e. attribute normalization happens if there's a DTD present) and I found the XMLScanner class that, via the method scanAttributeValue, does the attribute normalization. I noticed that we have a getNonNormalizedValue() method but the SAX parser layer uses AttributesProxy which hides the getNonNormalizedValue() method. Is there any way to configure Xerces to not normalize attribute values even when the DTD is declared?
Best regards, Daniel Yokomizo --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]