aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2014-09-04 23:32:10 +0200
committerAdrian Kummerlaender2014-09-04 23:32:10 +0200
commit216fcea2c8b52a5657d879628a27a76cb1fef2e3 (patch)
tree7141c13a4e58c24ba4a28634e6d24f06dba00312
parent5a54b5b8150d8bf1ac5db3ac688479b3aca6486d (diff)
downloadInputXSLT-216fcea2c8b52a5657d879628a27a76cb1fef2e3.tar
InputXSLT-216fcea2c8b52a5657d879628a27a76cb1fef2e3.tar.gz
InputXSLT-216fcea2c8b52a5657d879628a27a76cb1fef2e3.tar.bz2
InputXSLT-216fcea2c8b52a5657d879628a27a76cb1fef2e3.tar.lz
InputXSLT-216fcea2c8b52a5657d879628a27a76cb1fef2e3.tar.xz
InputXSLT-216fcea2c8b52a5657d879628a27a76cb1fef2e3.tar.zst
InputXSLT-216fcea2c8b52a5657d879628a27a76cb1fef2e3.zip
Added prefix to system ID of node-based XSLTInputSource instances
* otherwise include entity resolution fails for node-based xalan::XSLTInputSource instances instantiated by the XObjectValue class
-rw-r--r--src/support/type/xobject_value.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/support/type/xobject_value.cc b/src/support/type/xobject_value.cc
index 959da94..9eb9047 100644
--- a/src/support/type/xobject_value.cc
+++ b/src/support/type/xobject_value.cc
@@ -100,7 +100,9 @@ xalan::XSLTInputSource XObjectValue::get<xalan::XSLTInputSource>(
source.setSystemId(
*XercesStringGuard<XMLCh>(
- this->filesystem_context_->getBase().string()
+ "file://" + boost::filesystem::absolute(
+ this->filesystem_context_->getBase()
+ ).string()
)
);