Re: Invalid escaping of XML

2009-10-03 Thread Jacob Danner
[mailto:jacob.dan...@gmail.com] *Sent:* Friday, October 02, 2009 1:55 PM *To:* user@xmlbeans.apache.org *Subject:* Re: Invalid escaping of XML Off the top of my head I think this is as expected. The does not need to be escaped only . -jacobd On Fri, Oct 2, 2009 at 1:17 PM, Artem Portnoy

Invalid escaping of XML

2009-10-02 Thread Artem Portnoy
Hello, We have an XmlBean that takes in a String. The problem is that if we pass in an XML String, the XML characters are not properly escaped. Here’s a simple program I use to test… *public* *static* *void* main(String[] args) { Trace trace =

Re: Invalid escaping of XML

2009-10-02 Thread Jacob Danner
Off the top of my head I think this is as expected. The does not need to be escaped only . -jacobd On Fri, Oct 2, 2009 at 1:17 PM, Artem Portnoy artem.portnoy@gmail.comwrote: Hello, We have an XmlBean that takes in a String. The problem is that if we pass in an XML String, the XML

RE: Invalid escaping of XML

2009-10-02 Thread Wing Yew Poon
]] cannot appear in character data and must be written as ]]gt;. - Wing Yew _ From: Jacob Danner [mailto:jacob.dan...@gmail.com] Sent: Friday, October 02, 2009 1:55 PM To: user@xmlbeans.apache.org Subject: Re: Invalid escaping of XML Off the top of my head I think this is as expected