You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2002/07/03 17:01:15 UTC
DO NOT REPLY [Bug 10442] New: -
start/endInputSource callback methods are not called
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=10442>.
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=10442
start/endInputSource callback methods are not called
Summary: start/endInputSource callback methods are not called
Product: Xerces-C++
Version: Nightly build (please specify the date)
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Major
Priority: Other
Component: Validating Parser (Schema) (Xerces 1.5 or up only)
AssignedTo: xerces-c-dev@xml.apache.org
ReportedBy: PeterV@ti.com.od.ua
startInputSource() and endInputSource() methods are not called when parsing the
external XMLschemas
For example:
File: validators\schema\TraverseSchema.cpp
Line: 484
// ------------------------------------------------------------------
// Resolve schema location
// ------------------------------------------------------------------
InputSource* srcToFill = resolveSchemaLocation(schemaLocation);
...
Line: 516
fParser->parse(*srcToFill);
There should be a callback to user that we are parsing the InputSource:
fEntityHandler->startInputSource(*srcUsed);
fParser->parse(*srcToFill);
fEntityHandler->endInputSource(*srcUsed);
There are many places in the code, that should be modified like this.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org