Re: '

Richard Kunze <[email protected]>
Newsgroups gmane.comp.java.enhydra.xmlc
Organization Tivano Software GmbH
Message-ID <[email protected]>
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, [email protected]
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQA+kaj+86Aqb3OZfF4RAigAAJ0WlqGwKiNVNHaM2R6JFzyJC1bT9wCdFn+y
ouHTegDAyIBbbCTJkZAGVk4=
=eBxJ
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.