Hi, I am parsing a VXML document (another open source vxml engine, OpenVXI, is being used for this). The value of the first argument to SAX2XMLReader::loadGrammar() is "http://www.w3.org/TR/voicexml21/vxml.xsd". I am not sure how this works but is an http URI a valid path name for this API?
Regards, Anshuman -----Original Message----- From: [email protected] [mailto:[email protected]] Sent: 02 April 2013 09:25 To: [email protected] Subject: Re: Crash in SAX2XMLReader::loadGrammar() (Xerces 2.8.0) Anshuman, Can you confirm that there is not a problem with the markup in the DOCTYPE section of your XML document? Sincerely, Steven J. Hathaway > Hi, > > > > I am using an older version of xerces (2.8.0) and. sometimes, get a > crash in SAX2XMLReader::loadGrammar(). A stack trace of the crash is > attached. > Please > suggest if this has been fixed in the latest version or any other patch? > > > > > > xerces-c_2_8D.dll!xercesc_2_8::DTDGrammar::getEntityDeclPool() Line 301 + > 0x3 bytes C++ > > xerces-c_2_8D.dll!xercesc_2_8::IGXMLScanner::getEntityDeclPool() Line > 170 > C++ > > xerces-c_2_8D.dll!xercesc_2_8::XMLScanner::getValidationContext() > Line > 929 > + 0xd bytes C++ > > xerces-c_2_8D.dll!xercesc_2_8::SchemaValidator::validateAttrValue(cons > t xercesc_2_8::XMLAttDef * attDef=0x111eccf8, const wchar_t * const > attrValue=0x111ecd70, bool preValidation=true, const > xercesc_2_8::XMLElementDecl * elemDecl=0x111f39c8) Line 354 + 0xf > bytes > C++ > > xerces-c_2_8D.dll!xercesc_2_8::SchemaValidator::preContentValidation(bool > __formal=false, bool validateDefAttr=true) Line 877 C++ > > xerces-c_2_8D.dll!xercesc_2_8::IGXMLScanner::loadXMLSchemaGrammar(cons > t xercesc_2_8::InputSource & src={...}, const bool toCache=true) Line > 2115 > C++ > > xerces-c_2_8D.dll!xercesc_2_8::IGXMLScanner::loadGrammar(const > xercesc_2_8::InputSource & src={...}, const short grammarType=1, const > bool > toCache=true) Line 2998 + 0x10 bytes C++ > > xerces-c_2_8D.dll!xercesc_2_8::XMLScanner::loadGrammar(const wchar_t * > const systemId=0x102b57d0, const short grammarType=1, const bool > toCache=true) > Line 1844 + 0x20 bytes C++ > > xerces-c_2_8D.dll!xercesc_2_8::SAX2XMLReaderImpl::loadGrammar(const > wchar_t > * const systemId=0x102b57d0, const short grammarType=1, const bool > toCache=true) Line 1541 + 0x18 bytes C++ > > sipPhone.dll!DocumentParser::FetchDocument(const wchar_t * > url=0x08ffe368, const VXIMapHolder & properties={...}, > VXIinetInterface * inet=0x042f7ef8, VXIcacheInterface * > cache=0x0897d264, SimpleLogger & log={...}, VXMLDocument & > document={...}, VXIMapHolder & docProperties={...}, bool > isDefaults=false, bool isRootApp=false, unsigned char * * > content=0x148f74b4, unsigned long > * > size=0x148f74b0) Line 634 C++ > > > > > > > > Regards, > > Anshuman > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2013.0.3267 / Virus Database: 3161/6219 - Release Date: 04/01/13 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
