aboutsummaryrefslogtreecommitdiff
path: root/src/support/include_entity_resolver.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/support/include_entity_resolver.cc')
-rw-r--r--src/support/include_entity_resolver.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/support/include_entity_resolver.cc b/src/support/include_entity_resolver.cc
index 948a61b..e63a3c4 100644
--- a/src/support/include_entity_resolver.cc
+++ b/src/support/include_entity_resolver.cc
@@ -48,7 +48,9 @@ xercesc::InputSource* IncludeEntityResolver::resolveEntity(
*XercesStringGuard<XMLCh>((*resolvedPath).string())
);
} else {
- return nullptr;
+ return new xercesc::LocalFileInputSource(
+ *XercesStringGuard<XMLCh>(*filePath)
+ );
}
} else {
return nullptr;