Running Xerces 2.6.2 and noticed that sometime ' and > are escaped and sometimes not.  Further investigate revealed that this was jdk dependent.  If I run with 1.4.1 then the caracters are escaped ' and >, but if I run with 1.4.2 or 1.5.0 then the characters aren't escaped. I expected them to be escaped.  Quering OutputFormat, there aren't any NonEscapingElements.

with jdk 1.4.1
                  <Text string="&quot;XML apostophe=&apos;&quot; &quot;XML ampersand=&amp;&quot; &quot;XML quote=\&quot;&quot; &quot;XML greater than=&gt;&quot; &quot;XML less than=&lt;&quot;">

with jdk 1.4.2 & 1.5.0
                  <Text string="&quot;XML apostophe='&quot; &quot;XML ampersand=&amp;&quot; &quot;XML quote=\&quot;&quot; &quot;XML greater than=>&quot; &quot;XML less than=&lt;&quot;">


Jeff

Reply via email to