logo       

Re: ': msg#00026

java.enhydra.xmlc

Subject: Re: '

On Monday 07 April 2003 18:21, Jacob Kjome wrote:
> Actually, double quotes are at issue they are used to enclose attribute
> values. I never said that double quotes shouldn't be escaped; they
> absolutely should! Single quotes don't have the same issues that double
> quotes do. How would leaving single quotes alone but escaping double
> quotes break anything?

I may misremember, but I think there's an option in XMLC to switch between
single and double quotes for quoting attribute values (both are legal), and
if you're using single quotes for attribute values, you get problems when not
escaping them.

That said, its probably sensible to escape only the "problematic" quotes (i.e.
the ones that are used for quoting attributes on that particular output) and
leave the other variety unescaped...

--
Richard Kunze

[ t]ivano Software, Bahnhofstr. 18, 63263 Neu-Isenburg
Tel.: +49 6102 80 99 07 - 0, Fax.: +49 6102 80 99 07 - 1
http://www.tivano.de, kunze@xxxxxxxxx

Attachment: pgpAm03EKH83j.pgp
Description: signature

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise