Details
-
Bug
-
Status: Resolved
-
Resolution: Won't Fix
-
None
-
None
-
None
-
Operating System: All
Platform: All
-
14942
Description
File: \xercesc\internal\XMLScanner.cpp
Line: 2517
--------------------------------------
I found this bug when set flag to reuse the grammar and unexpectedly (for me)
was called in resolveEntity() method, asking to resolve (in my case download
the data from database ) systemId again.
Proposed patch is the following
-----------------------
old:
InputSource* sysIdSrc = resolveSystemId(sysId);
Janitor<InputSource> janSysIdSrc(sysIdSrc);
Grammar* grammar = fGrammarResolver->getGrammar(sysIdSrc->getSystemId());
-----------------------
new
Grammar* grammar = fGrammarResolver->getGrammar(sysId);
-----------------------