From 42a0b31ebc10bea7e205e04c12b590afbcc27b3d Mon Sep 17 00:00:00 2001 From: Adrian Kummerländer Date: Wed, 30 Apr 2014 18:48:23 +0200 Subject: 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 --- src/function/read_directory.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/function/read_directory.cc') 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; }; } -- cgit v1.2.3