aboutsummaryrefslogtreecommitdiff
path: root/src/function/read_directory.cc
diff options
context:
space:
mode:
authorAdrian Kummerländer2014-04-30 18:48:23 +0200
committerAdrian Kummerländer2014-04-30 18:48:23 +0200
commit42a0b31ebc10bea7e205e04c12b590afbcc27b3d (patch)
tree0545a36ba6288f57db40fe12c4f54af243ea78bf /src/function/read_directory.cc
parentddfe25807ef90ddd3d10fd4532875ffdb5d5e9c5 (diff)
downloadInputXSLT-42a0b31ebc10bea7e205e04c12b590afbcc27b3d.tar
InputXSLT-42a0b31ebc10bea7e205e04c12b590afbcc27b3d.tar.gz
InputXSLT-42a0b31ebc10bea7e205e04c12b590afbcc27b3d.tar.bz2
InputXSLT-42a0b31ebc10bea7e205e04c12b590afbcc27b3d.tar.lz
InputXSLT-42a0b31ebc10bea7e205e04c12b590afbcc27b3d.tar.xz
InputXSLT-42a0b31ebc10bea7e205e04c12b590afbcc27b3d.tar.zst
InputXSLT-42a0b31ebc10bea7e205e04c12b590afbcc27b3d.zip
Moved file reading functionality into local functions
* it was moved into functions local to the respective compilation unit to improve readability ** splits DOM tree construction logic from the actual purpose of the external function
Diffstat (limited to 'src/function/read_directory.cc')
-rw-r--r--src/function/read_directory.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/function/read_directory.cc b/src/function/read_directory.cc
index 686767d..f155029 100644
--- a/src/function/read_directory.cc
+++ b/src/function/read_directory.cc
@@ -62,6 +62,11 @@ xalan::XObjectPtr FunctionReadDirectory::execute(
break;
};
default: {
+ itemNode->setAttribute(
+ *XercesStringGuard("type"),
+ *XercesStringGuard("misc")
+ );
+
break;
};
}