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 19:19:42 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David,

David Smith wrote:
> Seems like these should be preserved instead of decoded when the output
> is x/html.

If the &'s were preserved, then how would you actually emit an '&'
character?

I think that the OP and the author of the rant against JSPXs are both
attempting to ignore the fact that a JSPX is not simple another XML
document. It's an XML document that generates another XML document.
Given that, special attention ought to be paid to XML entities such as
these.

- -chris

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

iD8DBQFF02DO9CaO5/Lv0PARAr0WAJ4m+3gItG3DkUJNK/EwRvL9rjIt6ACfZHnD
86OlEMvUBT45QCq068PVLpo=
=1uxt
-----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