DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27008>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27008 EntityResolver( XMLResourceIdentifier* ) not implemented in XSDDomParser Summary: EntityResolver( XMLResourceIdentifier* ) not implemented in XSDDomParser Product: Xerces-C++ Version: 2.4.0 Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: Validating Parser (DTD) AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Hello, I have been experiencing a problem while using Xerces 2.4.0, but as far as i know it was already there in at least version 2.3.0. I am parsing an XML document, and all DTD/XSD etc. are in memory, and handled by our own EntityResolver. I set this entity resolver on the parser, and try to parse the document. Most of the entities are resolved using our EntityResolver, but from the function call with the following call stack: > xercesc_2_4::XercesDomParser::resolveEntity() Line 270 xercesc_2_4::ReaderMgr::createReader() Line 535 xercesc_2_4::IGXMLScanner::scanDocTypeDecl() Line 1503 xercesc_2_4::XMLScanner::scanProlog() Line 1238 xercesc_2_4::IGXMLScanner::scanDocument() Line 240 xercesc_2_4::AbstractDOMParser::parse() Line 461 xercesc_2_4::TraverseSchema::preprocessImport() Line 764 xercesc_2_4::TraverseSchema::preprocessChildren() Line 4447 xercesc_2_4::TraverseSchema::preprocessInclude() Line 621 xercesc_2_4::TraverseSchema::preprocessChildren() Line 4444 xercesc_2_4::TraverseSchema::preprocessSchema() Line 416 xercesc_2_4::TraverseSchema::TraverseSchema() Line 261 xercesc_2_4::IGXMLScanner::loadXMLSchemaGrammar() Line 1994 xercesc_2_4::IGXMLScanner::loadGrammar() Line 3091 xercesc_2_4::XMLScanner::loadGrammar() Line 1725 xercesc_2_4::SAX2XMLReaderImpl::loadGrammar() Line 1756 The XercesDomParser::resolveEntity is being called, but the target is a XSDDomParser. And because of the mapping to fUserEntityResolver... it should call the resolveEntity in XSDDomParser.cpp, but the function EntityResolver( XMLResourceIdentifier* ) has not been implemented in the XSDDomParser. If i am correct, this should be done, and after i made the changes it works. So i can work "offline" again... Regards, P. van Bruggen New Bridges --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
