IZ73422: SORTED XSL:FOR-EACH OVER TEMPLATE PARAM BROKEN IN XSLTC
Closed as program error.
Error Message: N/A . Stack Trace: N/A .
Switching to the default XSLT interpreted processor using JAXP interface. 1) Before calling TransformerFactory.newInstance(), use System.setProperty("javax.xml.transform.TransformerFactory", "org.apache.xalan.processor.TransformerFactoryImpl"), and then restore its original value after a TransformerFactory is instantiated 2) Instantiate org.apache.xalan.processor.TransformerFactoryImpl directly instead of using TransformerFactory.newInstance(). This is not recommended, because this class is not part of the platform, but you could check for its existence, falling back to the usual method if it is not found.
For the compiler (XSLTC), an xsl:for-each with an xsl:sort over a template parameter will not work because the org.apache.xalan.xsltc.dom.SortingIterator appears empty until it is initialized, and code is not generated to call the proper method to initialize it.
This defect will be fixed in: 5.0.0 SR12 . Code has been modified to return sorted set of nodes. . To obtain the fix: Install build 20100332 or later
Reported component name
JAVA 5 XML/XSL
Reported component ID
Last modified date
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fixed component name
JAVA 5 XML/XSL
Fixed component ID
Applicable component levels
Translate this page: