Hi All,

I build xerces 3.1.1 from source code on mac osx as follows
1 ./configure prefix="/usr/lib/xerces" --disable-shared CFLAGS="-arch
x86_64" CXXFLAGS="-arch x86_64" --disable-netaccessor-curl
2 Run make install

This will creates three folders lib, bin and include

I could used libxerces-c.a in my project to parse an xml file.

I get xml file from server.
I found that xercesc_3_1::DOMLSParserImpl::parseURI() gets failed when xml
file contains reserved characters like & lt; etc.

it gives following crash report
0   xercesc_3_1::DTDGrammar::getEntityDecl(unsigned short const*)
1   xercesc_3_1::IGXMLScanner::scanEntityRef(bool, unsigned short&,
unsigned short&, bool&)
2   xercesc_3_1::IGXMLScanner::scanAttValue(xercesc_3_1::XMLAttDef const*,
unsigned short const*, xercesc_3_1::XMLBuffer&)
3   xercesc_3_1::IGXMLScanner::scanStartTag(bool&)
4  xercesc_3_1::IGXMLScanner::scanContent()
5  xercesc_3_1::IGXMLScanner::scanDocument(xercesc_3_1::InputSource const&)
6   xercesc_3_1::XMLScanner::scanDocument(unsigned short const*)
7  xercesc_3_1::XMLScanner::scanDocument(char const*)
8  xercesc_3_1::AbstractDOMParser::parse(char const*)
9  xercesc_3_1::DOMLSParserImpl::parseURI(char const*)


Please help me to fix it

Regards,
Alam

Reply via email to