tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: ampersand (&amp;) handling in jspx - any workaround?
Date Wed, 14 Feb 2007 17:38:01 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Leon,

Leon Rosenberg wrote:
> correct me if i wrong, but isn't &amp; forbidden in xml anyway?

Nope. It's one of the only entities defined in XML (&amp;, &lt;, &gt;,
and &quot;, I think).

I'm not sure why the OP thinks this is an error.

If you put &amp; into an XML file, it gets treated as a single '&'. If
you want '&amp;', you gotta say '&amp;amp;'. <shrug>

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF00j59CaO5/Lv0PARAmwvAJ4j2dGrv22QYDehbeDpTqcMsIT19gCgvi01
Sr5VgkSU8+pgR4f9++ki/e4=
=bPMk
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message