6:10
> To: [EMAIL PROTECTED]
> Subject: Re: XMLSerializer: Escaping of single quotes
>
>
> Hi Thomas,
>
> Thomas Börkel wrote:
> > The XMLSerializer escapes single quotes ('). Why? If I want
> to transfrom the string back into a Document object,
> un-escaped si
Hi Thomas,
Thomas Börkel wrote:
> The XMLSerializer escapes single quotes ('). Why? If I want to transfrom the
> string back into a Document object, un-escaped single quotes work pretty
> well. Escaping <, > and & is OK, but why '?
I believe this is done to avoid the problems in HTML (which Jo
Could you provide an example where you think single quotes are being escaped unnecessarily? I haven't seen an instance of this...
In text content of an element, we shouldn't have to escape them.
In the value of an attribute, we may have to if the value is quoted with ' characters -- but Xalan no