aboutsummaryrefslogtreecommitdiff
path: root/src/function
diff options
context:
space:
mode:
Diffstat (limited to 'src/function')
-rw-r--r--src/function/external_text_formatter.cc2
-rw-r--r--src/function/read_directory.cc2
-rw-r--r--src/function/read_file.cc2
-rw-r--r--src/function/transform.cc2
-rw-r--r--src/function/write_file.cc2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/function/external_text_formatter.cc b/src/function/external_text_formatter.cc
index de8a296..ccf7ee7 100644
--- a/src/function/external_text_formatter.cc
+++ b/src/function/external_text_formatter.cc
@@ -44,7 +44,7 @@ DomDocumentCache::document_ptr FunctionExternalTextFormatter::constructDocument(
std::string stdinText
) {
DomDocumentCache::document_ptr domDocument(
- DomDocumentCache::createDocument()
+ DomDocumentCache::createDocument("content")
);
boost::process::context context;
diff --git a/src/function/read_directory.cc b/src/function/read_directory.cc
index cbc64e0..9b84828 100644
--- a/src/function/read_directory.cc
+++ b/src/function/read_directory.cc
@@ -8,7 +8,7 @@ namespace InputXSLT {
DomDocumentCache::document_ptr FunctionReadDirectory::constructDocument(
boost::filesystem::path directoryPath) {
DomDocumentCache::document_ptr domDocument(
- DomDocumentCache::createDocument()
+ DomDocumentCache::createDocument("content")
);
ResultNodeFacade result(domDocument.get(), "directory");
diff --git a/src/function/read_file.cc b/src/function/read_file.cc
index dcd32b7..0ca5ee3 100644
--- a/src/function/read_file.cc
+++ b/src/function/read_file.cc
@@ -62,7 +62,7 @@ namespace InputXSLT {
DomDocumentCache::document_ptr FunctionReadFile::constructDocument(
boost::filesystem::path filePath) {
DomDocumentCache::document_ptr domDocument(
- DomDocumentCache::createDocument()
+ DomDocumentCache::createDocument("content")
);
ResultNodeFacade result(domDocument.get(), "file");
diff --git a/src/function/transform.cc b/src/function/transform.cc
index d7aae94..6cda7a7 100644
--- a/src/function/transform.cc
+++ b/src/function/transform.cc
@@ -31,7 +31,7 @@ DomDocumentCache::document_ptr FunctionTransform::constructDocument(
xalan::XSLTInputSource transformationSource
) {
DomDocumentCache::document_ptr domDocument(
- DomDocumentCache::createDocument()
+ DomDocumentCache::createDocument("content")
);
ResultNodeFacade result(domDocument.get(), "transformation");
diff --git a/src/function/write_file.cc b/src/function/write_file.cc
index 0ad68bf..3df9d78 100644
--- a/src/function/write_file.cc
+++ b/src/function/write_file.cc
@@ -62,7 +62,7 @@ DomDocumentCache::document_ptr FunctionWriteFile::constructDocument(
xalan::XalanNode* const contentNode
) {
DomDocumentCache::document_ptr domDocument(
- DomDocumentCache::createDocument()
+ DomDocumentCache::createDocument("content")
);
ResultNodeFacade result(domDocument.get(), "file");