diff --git a/include/XSLT/impl/xslt_compilation_context.hpp b/include/XSLT/impl/xslt_compilation_context.hpp index e2f30540..eb2eb064 100755 --- a/include/XSLT/impl/xslt_compilation_context.hpp +++ b/include/XSLT/impl/xslt_compilation_context.hpp @@ -155,6 +155,9 @@ private: // generate-id if(name == "system-property") return new SystemPropertyFunction(argExprs); + // element-available + // function-available + return 0; } // resolveFunction diff --git a/tests/XSLT/main.cpp b/tests/XSLT/main.cpp index 63ddc18a..c950cd9b 100755 --- a/tests/XSLT/main.cpp +++ b/tests/XSLT/main.cpp @@ -91,7 +91,7 @@ int main(int argc, const char* argv[]) runner.addTest("Sorting", XSLTTest_suite("Sorting")); //runner.addTest("Stylesheet", XSLTTest_suite("Stylesheet")); //runner.addTest("Template", XSLTTest_suite("Template")); - //runner.addTest("Text", XSLTTest_suite("Text")); + runner.addTest("Text", XSLTTest_suite("Text")); runner.addTest("Valueof", XSLTTest_suite("Valueof")); //runner.addTest("Variables", XSLTTest_suite("Variables")); //runner.addTest("Whitespaces", XSLTTest_suite("Whitespaces"));