Hi All,

Please let me know, if anybody can provide some clue on this.

I have been using Xerces as XML parser in my C++ application and I have
recently migrated my Xerces version from 1.3 (very old) to 3.1.

After that, when I call AbstractDOMParser::parse(const
xercesc_3_1::InputSource & source={...}) and passing a Unicode file as
input, it pops up exception. However the same works ok for ANSI.

The call stack is as shown below.

xerces-c_3_1.dll!xercesc_3_1::XMLScanner::scanProlog()  Line 1227 + 0x25
bytes
xerces-c_3_1.dll!xercesc_3_1::IGXMLScanner::scanDocument(const
xercesc_3_1::InputSource & src={...})  Line 210
xerces-c_3_1.dll!xercesc_3_1::AbstractDOMParser::parse(const
xercesc_3_1::InputSource & source={...})  Line 549
EPConfigTool.dll!XCfgXMLParser::parse()  Line 66 - My application code

It is working fine when I move back to version 1.3, but due to various other
requirements, I have to use the new version 3.1 in my application.

Thanks in advance,
Jojo

-- 
View this message in context: 
http://old.nabble.com/Xerces-is-poping-up-exception-while-parsing-a-Unicode-file%2C-but-same-is-working-OK-for-an-ANSI-file-tp30725965p30725965.html
Sent from the Xerces - C - Dev mailing list archive at Nabble.com.

Reply via email to