encodeCDATA(java.lang.String text)
Previously we use CDATA to avoid escaping some characters, for example SQL statement
This cause problems for some foreign language, like Czech, which contains escape characters
that has to be parsed outside of the CDATA section.
public static java.lang.String encodeXML(java.lang.String text)
readCDATA
public static java.lang.String readCDATA(org.w3c.dom.Node node)
throws java.lang.Exception
This is the new readCDATA() method.
Please refer to the encodeCDATA method.
If the encoding is not ISO-8859-1, version >= 165
Instead of writing CDATA, just write it as normal string with character numeric references
readText
public static java.lang.String readText(org.w3c.dom.Node node)
throws java.lang.Exception
parseBoolean
public static boolean parseBoolean(java.lang.String b)
encodeCDATA
public static java.lang.String encodeCDATA(java.lang.String text)
Previously we use CDATA to avoid escaping some characters, for example SQL statement
This cause problems for some foreign language, like Czech, which contains escape characters
that has to be parsed outside of the CDATA section.
If determine the encoding is not ISO-8859-1, write as string.