diff --git a/src/xercesc/validators/schema/XSDDOMParser.cpp b/src/xercesc/validators/schema/XSDDOMParser.cpp index a49b28ce800aa7bdf54fc83b7a4e72bc012e99e6..2d6c67dbd1e44848b649365e03dfcbe81da496ca 100644 --- a/src/xercesc/validators/schema/XSDDOMParser.cpp +++ b/src/xercesc/validators/schema/XSDDOMParser.cpp @@ -557,4 +557,13 @@ InputSource* XSDDOMParser::resolveEntity(const XMLCh* const publicId, return 0; } +InputSource* +XSDDOMParser::resolveEntity(XMLResourceIdentifier* resourceIdentifier) +{ + if (fUserEntityHandler) + return fUserEntityHandler->resolveEntity(resourceIdentifier); + + return 0; +} + XERCES_CPP_NAMESPACE_END diff --git a/src/xercesc/validators/schema/XSDDOMParser.hpp b/src/xercesc/validators/schema/XSDDOMParser.hpp index a1a7dcbfdb193d0a00bf1bbe04ca424d38cff648..8a88e7d54da5bf8e9c1d45a06496c7c3b1c25901 100644 --- a/src/xercesc/validators/schema/XSDDOMParser.hpp +++ b/src/xercesc/validators/schema/XSDDOMParser.hpp @@ -306,6 +306,8 @@ public : , const XMLCh* const baseURI = 0 ); + virtual InputSource* resolveEntity(XMLResourceIdentifier* resourceIdentifier); + protected : // ----------------------------------------------------------------------- // Protected Helper methods