aboutsummaryrefslogtreecommitdiff
path: root/src/support/type
diff options
context:
space:
mode:
Diffstat (limited to 'src/support/type')
-rw-r--r--src/support/type/xobject_value.cc11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/support/type/xobject_value.cc b/src/support/type/xobject_value.cc
index a788e8e..9bb6648 100644
--- a/src/support/type/xobject_value.cc
+++ b/src/support/type/xobject_value.cc
@@ -9,6 +9,7 @@
#include <string>
#include "support/xalan_string.h"
+#include "support/xerces_string_guard.h"
namespace InputXSLT {
@@ -73,7 +74,15 @@ xalan::XSLTInputSource XObjectValue::get<xalan::XSLTInputSource>(
this->get<boost::filesystem::path>(ptr).string().data()
);
} else {
- return xalan::XSLTInputSource(node);
+ xalan::XSLTInputSource source(node);
+
+ source.setSystemId(
+ *XercesStringGuard<XMLCh>(
+ this->filesystem_context_.getBase().string()
+ )
+ );
+
+ return source;
}
}