Skip to main content

IZ73422: SORTED XSL:FOR-EACH OVER TEMPLATE PARAM BROKEN IN XSLTC


Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: N/A
    .
    Stack Trace: N/A
    .
    

Local fix

  • 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.
    

Problem summary

  • 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.
    

Problem conclusion

  • 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
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ73422

  • 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

    2010-03-26

  • Closed date

    2010-03-31

  • Last modified date

    2010-03-31

  • 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 PSN

       UP

Rate this page:

(0 users)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.

Rate this page:


(0 users)Average rating

Add comments

Document information

Runtimes for Java Technology

XML


Software version:
5.0


Reference #:
IZ73422


Modified date:
2010-03-31

Translate my page

Content navigation