The source code of org.apache.xml.serialize.XMLSerializer.java says
// REVISIT: for character data we should not convert this into
// char reference
in the printXMLChar method. I have debugged and checked that while
serializing attributes values and
text in element content this same method is called.
/Suresh
>>-----Original Message-----
>>From: Joseph Kesselman [mailto:[EMAIL PROTECTED]
>>Sent: Thursday, December 05, 2002 7:45 PM
>>To: [EMAIL PROTECTED]
>>Subject: Re: Double Quote escaped in Serializer in text
>>
>>
>>As I recall, the Xerces serializer is using double-quotes to quote
>>attribute values, and thus would need to escape double-quotes within
>>attributes. If it's using the same routine to output text in element
>>content, you'll get the same escaping. The question becomes
>>one of whether
>>one can find a way to distinguish these two cases without
>>inefficiencies
>>in code size or execution speed.
>>
>>______________________________________
>>Joe Kesselman / IBM Research
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]