aboutsummaryrefslogtreecommitdiff
path: root/src/support/include_entity_resolver.cc
diff options
context:
space:
mode:
authorAdrian Kummerlaender2014-07-09 19:59:32 +0200
committerAdrian Kummerlaender2014-07-09 19:59:32 +0200
commit1fbf6a39784b57925ab19df579f487a338e22ba5 (patch)
treee3e6a9aaa9cf54cc5e294d7f03a02b450d30a5b8 /src/support/include_entity_resolver.cc
parentfcc2f8ee41d6793411a2321e6b0ac46cb5ba23ee (diff)
downloadInputXSLT-1fbf6a39784b57925ab19df579f487a338e22ba5.tar
InputXSLT-1fbf6a39784b57925ab19df579f487a338e22ba5.tar.gz
InputXSLT-1fbf6a39784b57925ab19df579f487a338e22ba5.tar.bz2
InputXSLT-1fbf6a39784b57925ab19df579f487a338e22ba5.tar.lz
InputXSLT-1fbf6a39784b57925ab19df579f487a338e22ba5.tar.xz
InputXSLT-1fbf6a39784b57925ab19df579f487a338e22ba5.tar.zst
InputXSLT-1fbf6a39784b57925ab19df579f487a338e22ba5.zip
Added DomDocumentCache::createDocument overload enabling document naming
* previous createDocument method used default name "content" ** this led to problems when using xalan::XalanNode as transformation input ** the parameter-less createDocument overload now creates a unnamed xercesc::DOMDocument * changed external function implementations accordingly
Diffstat (limited to 'src/support/include_entity_resolver.cc')
-rw-r--r--src/support/include_entity_resolver.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/support/include_entity_resolver.cc b/src/support/include_entity_resolver.cc
index 818d307..b9e20f9 100644
--- a/src/support/include_entity_resolver.cc
+++ b/src/support/include_entity_resolver.cc
@@ -21,7 +21,7 @@ boost::optional<boost::filesystem::path> extractFilePath(
boost::filesystem::path(
rawPath.substr(
leadingDelimiter + 1,
- closingDelimiter - leadingDelimiter - 1
+ closingDelimiter - 1 - leadingDelimiter
)
)
);