aboutsummaryrefslogtreecommitdiff
path: root/test/read_xml_file
diff options
context:
space:
mode:
authorAdrian Kummerlaender2014-06-28 18:09:48 +0200
committerAdrian Kummerlaender2014-06-28 18:09:48 +0200
commit299d0f6fa3fbd1bfd8d1d6d452e9d055973d0e0e (patch)
tree6612a030c8d866da3613973b2dd0aa9811d039ae /test/read_xml_file
parentcd2a6c17ab1108e2bf01125b65292014c002db95 (diff)
downloadInputXSLT-299d0f6fa3fbd1bfd8d1d6d452e9d055973d0e0e.tar
InputXSLT-299d0f6fa3fbd1bfd8d1d6d452e9d055973d0e0e.tar.gz
InputXSLT-299d0f6fa3fbd1bfd8d1d6d452e9d055973d0e0e.tar.bz2
InputXSLT-299d0f6fa3fbd1bfd8d1d6d452e9d055973d0e0e.tar.lz
InputXSLT-299d0f6fa3fbd1bfd8d1d6d452e9d055973d0e0e.tar.xz
InputXSLT-299d0f6fa3fbd1bfd8d1d6d452e9d055973d0e0e.tar.zst
InputXSLT-299d0f6fa3fbd1bfd8d1d6d452e9d055973d0e0e.zip
Added input parameter to FunctionTransform
* the external "transform" function now expects a input document as its first parameter ** this input parameter is resolved and passed as input to the transformation ** changed and expanded test case accordingly * because of xalan internal problem this currently only supports input DOMs loaded directly from the fs ** passing result trees or node sets analog to how the transformation may be passed into the function leads to parsing and assert failures ** parsing node-based input DOMs using xalanc::XalanTransformer::parseSource produces errors concerning base entity resolution ** if the error capacitor instance is temporarily disabled it works correctly as long as one doesn't try to access the input document *** this causes a assert failure in the XPath implementation (seems to be related to XALANC-540)
Diffstat (limited to 'test/read_xml_file')
-rw-r--r--test/read_xml_file/transformation.xsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/read_xml_file/transformation.xsl b/test/read_xml_file/transformation.xsl
index cd06c46..083cb12 100644
--- a/test/read_xml_file/transformation.xsl
+++ b/test/read_xml_file/transformation.xsl
@@ -14,7 +14,7 @@
<xsl:choose>
<xsl:when test="$result/self::file/@result = 'success'">
- <xsl:for-each select="$result/self::file/tester/eintrag">
+ <xsl:for-each select="$result/self::file/test/entry">
<item><xsl:value-of select="."/></item>
</xsl:for-each>
</xsl:when>