[xml] Entity replacement not correct. !!



Hi,

  We are using SAX parser for parsing …In our xml documents there are some standard entities like < and & in the attribute for some elements

  We were expecting that they will get converted to the proper equivalent after parsing,(&)…but & is getting converted to &

 

Similar defect was reported earlier, link for the same is http://bugzilla.gnome.org/show_bug.cgi?id=389843

 

Also, we have done xmlSubstituteEntitiesDefault (1); after doing xmlInitParser ();

 

I have tested this on version 2.6.26 by generating the binaries and on 2.6.27 (on windows) by taking the binaries from http://www.zlatkovic.com/libxml.en.html

 

Please let me know in case this defect is already fixed…or in case I am missing on something..

 

Thanks in advance.

Regards,

Harbhanu

 



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