tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan <stefan.rie...@telig.de>
Subject Re: ampersand (&amp;) handling in jspx - any workaround?
Date Wed, 14 Feb 2007 20:13:17 GMT
Christopher Schultz schrieb:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Stefan,
>
> Stefan wrote:
>   
>> but where do I need a single "&" in the generated XML. That's forbidden
>> a causes the problems. Can You come up a use case?
>>     
>
> Oh, I'm not saying that it's a good idea. I actually agree that emitting
> a single & doesn't make any sense.
>
> Compare this to XSLT. If you want a stylesheet to emit an '&', don't you
> use &amp;? And if you want to emit '&amp;' you have to double it. I
> don't see the difference, and I think that the OP is being unreasonable ;)
>   
Not in my xslt ;-) It depends of the output method. If you output xml, 
&amp; still gets &amp; It is meanless to create a not well formed xml. I 
don't remember what the output method text or html makes.

> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFF02tu9CaO5/Lv0PARAjkbAJ9RSY47qhNVLRtIFgng41ZTrHeNIwCeIPRI
> 4MFEoiwKykHGmHUo+a5N1oA=
> =B/gg
> -----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
>
>
>   


-- 
Stefan


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