aboutsummaryrefslogtreecommitdiff
path: root/src/function
diff options
context:
space:
mode:
Diffstat (limited to 'src/function')
-rw-r--r--src/function/base.h2
-rw-r--r--src/function/external_command.cc1
-rw-r--r--src/function/read_file.cc1
3 files changed, 2 insertions, 2 deletions
diff --git a/src/function/base.h b/src/function/base.h
index 5c2d317..e2239e7 100644
--- a/src/function/base.h
+++ b/src/function/base.h
@@ -56,7 +56,6 @@ class FunctionBase : public xalan::Function {
xalan::XalanDocument* const domDocument(
this->callConstructDocument(
parameters,
- locator,
typename IndexSequence<maximum_parameter_count>::type()
)
);
@@ -117,7 +116,6 @@ class FunctionBase : public xalan::Function {
template <std::size_t... Index>
inline xalan::XalanDocument* callConstructDocument(
const XObjectArgVectorType& parameters,
- const xalan::Locator*,
Sequence<Index...>
) const {
const FilesystemContext context;
diff --git a/src/function/external_command.cc b/src/function/external_command.cc
index 7fbc1d9..e60737d 100644
--- a/src/function/external_command.cc
+++ b/src/function/external_command.cc
@@ -52,6 +52,7 @@ inline boost::optional<xercesc::DOMNode*> importDocumentElement(
xercesc::DOMDocument* const domDocument
) {
xercesc::XercesDOMParser parser;
+ parser.setDoNamespaces(true);
parser.parse(xalan::XSLTInputSource(*outputStream));
if ( parser.getErrorCount() == 0 ) {
diff --git a/src/function/read_file.cc b/src/function/read_file.cc
index fe9eea5..bbc8315 100644
--- a/src/function/read_file.cc
+++ b/src/function/read_file.cc
@@ -25,6 +25,7 @@ boost::optional<xercesc::DOMNode*> readXmlFile(
);
xercesc::XercesDOMParser parser;
+ parser.setDoNamespaces(true);
parser.parse(file);
if ( parser.getErrorCount() == 0 ) {