OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xml-dev] Control characters in node value



On 01/11/09 3:22 PM, "Ronald Bourret" <rpbourret@rpbourret.com> wrote:
> To fix this, whoever constructs the XML needs to use references to the
> lt and gt entities instead of the < and > characters. For example:
> 
> <?xml version="1.0"?>
> <A>
> <B>#java.sql.SQLException:
> oracle.jdbc.driver.OracleConnection.&lt;init&gt;(OracleConnection.java)
> </B>
> </A>
> 
> -- Ron

Or this, which is occasionally easier:

<?xml version="1.0"?>
<A>
<B><![CDATA[#java.sql.SQLException:
oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java)
]]></B>
</A>