You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by acec acec <to...@yahoo.ca> on 2007/09/17 18:07:47 UTC

betwixt 0.8: &

Hi,
I am using betwixt-0.8, In my java bean, I have a
String with value: "http:///www.test.com?a=ddd&d=ccc"

,but in my xml output, "&" became &amp;

Can I disable this behavior?

Thank.




      Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail at http://mrd.mail.yahoo.com/try_beta?.intl=ca


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


RE: betwixt 0.8: &

Posted by Jared Graber <jg...@zedak.com>.
I don't know if you can disable it (I highly doubt it), but you probably
don't want to disable it even if you can.

"&" is being replaced with "&amp;" based on standard XML escaping.  "&" by
itself would cause the XML to be invalid.

-Jared  

-----Original Message-----
From: acec acec [mailto:tomcatacec@yahoo.ca] 
Sent: Monday, September 17, 2007 12:08 PM
To: Jakarta Commons Users List
Subject: betwixt 0.8: &amp;

Hi,
I am using betwixt-0.8, In my java bean, I have a
String with value: "http:///www.test.com?a=ddd&d=ccc"

,but in my xml output, "&" became &amp;

Can I disable this behavior?

Thank.




      Be smarter than spam. See how smart SpamGuard is at giving junk email
the boot with the All-new Yahoo! Mail at
http://mrd.mail.yahoo.com/try_beta?.intl=ca


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org