APAR status
Closed as program error.
Error description
Error Message: N/A . Stack Trace: N/A . Getting wrong transformation results.
Local fix
Problem summary
When an XML document is parsed either as input to the transformation or using the fn:document() the Translet.buildkeys() method will get invoked to build key indexes in cases where the <xsl:key> element is used. However this is not happening for XSLTC in situations where the XML document is parsed by a Java extension function and returned as a W3C Node object thus causing usage of <xsl:key> to fail.
Problem conclusion
This defect will be fixed in: 5.0.0 SR13 . The solution is to invoke the Translet.buildKeys() in BasisLibrary.nodeList2Iterator() so we build the key indexes every time we get a DOM from a Java extension function. This however introduces a performance hit because even if the same DOM object is received multiple times we would build the key indexes multiple. Unlike physical XML input files where we can hash by systemid there is currently no efficient way of differentiating one DOM object from another. . To obtain the fix: Install build 20110917 or later
Temporary fix
Comments
APAR Information
APAR number
IV07602
Reported component name
JAVA 5 XML/XSL
Reported component ID
620500126
Reported release
500
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2011-09-14
Closed date
2011-09-27
Last modified date
2011-09-27
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
JAVA 5 XML/XSL
Fixed component ID
620500126
Applicable component levels
R500 PSY
UP
Rate this page:
Average rating
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.