tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leon Rosenberg" <rosenberg.l...@googlemail.com>
Subject Re: ampersand (&amp;) handling in jspx - any workaround?
Date Wed, 14 Feb 2007 20:12:10 GMT
On 2/14/07, Christopher Schultz <chris@christopherschultz.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Leon,
>
> Leon Rosenberg wrote:
> > On 2/14/07, Christopher Schultz <chris@christopherschultz.net> wrote:
> >> If the &'s were preserved, then how would you actually emit an '&'
> >> character?
> >
> > &#uuuu;
> > the &amp; is not xml its html.
>
> It's both, actually.
>
> > Btw, & isn't allowed in html as well, for example in links.
>
> Untrue. HTML allows bare & symbols. XHTML forbids them (for example, in
> links).

Normal html forbids them too. at least according to
http://validator.w3.org/

regards
Leon

>
> - -chris
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFF02vN9CaO5/Lv0PARAoCyAJ4gFNM4TLbChuHdVS9S862psxzuGgCdEwsD
> 33/7qrnPaIB5GW69cylsuS8=
> =+GDv
> -----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
>
>

---------------------------------------------------------------------
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