Xerces is poping up exception while parsing a Unicode file, but same is working fine for an ANSI file -----------------------------------------------------------------------------------------------------
Key: STDCXX-1053 URL: https://issues.apache.org/jira/browse/STDCXX-1053 Project: C++ Standard Library Issue Type: Bug Components: 20. General Utilities Environment: Windows XP Reporter: Jojo Jose 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 - <b>My application code</b> 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 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.