Hi All,

 

  I am using the Xerces c++ SAX parser to parse my xml file.  I have a question regarding CData section, here is the example:

 

  <cust_info>

    <![CDATA[ Customer<!1> ]]>

  </cust_info>

 

I would expect the characters event after the <cust_info> startElement event will give me the unchanged value Customer<!1>, however, what I get is actually Customer&lt;!1&gt; , that is, the ‘<’ and ‘>’ is converted to its entity reference. Is this the expected behavior? Is there a way to “turn off” the automatic conversion?

 

Thanks.

Frank

 

Reply via email to