Hi Malcom,
unfortunately entity expansion inside attribute values cannot be disabled (not even in the DOM parser).

Alberto

At 12:35 PM 4/4/2006 +0200, Malcolm MacLeod wrote:
I still need help with this, its quite urgent... can anyone give me any
ideas?
----- Original Message -----
From: "Malcolm MacLeod" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, March 30, 2006 11:37 AM
Subject: how to not expand attribute entity references?


Hi, im using the sax2reader to parse an xml document.

When my startElement() function gets called and i read teh attributes in my
program entity references are being expanded.

eg /
<Foo Bar="&copy;">

is coming through as a copyright symbol, i need it to come through as is,
How can i disable this expansion?

I have seen this option in the dom parser but I can't find it for the sax
parser.

Please help, thanks.

Reply via email to