RE: XMLSerializer: Escaping of single quotes

2002-07-25 Thread Thomas Börkel
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

Re: XMLSerializer: Escaping of single quotes

2002-07-23 Thread Elena Litani
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

Re: XMLSerializer: Escaping of single quotes

2002-07-23 Thread Joseph Kesselman
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