APAR status
Closed as program error.
Error description
If called with a literal string argument, the XSLT function type-available would incorrectly return a true result if the argument was the name of one of the built-in functions defined in the "XQuery 1.0 and XPath 2.0 Functions and Operators" specification [2]. For example, the expression "type-available('count')" would always return true because there is a built-in function called "fn:count", regardless of whether a type named "count" was available in the in-scope schema types. [1] http://www.w3.org/TR/xslt20/#function-type-available [2] http://www.w3.org/TR/xpath-functions/
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: Users of the IBM WebSphere Application * * Server V7.0 with Feature Pack for XML * * 1.0.0.1 or earlier * **************************************************************** * PROBLEM DESCRIPTION: XSLT function type-available could * * incorrectly return true * **************************************************************** * RECOMMENDATION: * **************************************************************** If called with a literal string argument, the XSLT function type-available would incorrectly return a true result if the argument was the name of one of the built-in functions defined in the "XQuery 1.0 and XPath 2.0 Functions and Operators" specification [2]. For example, the expression "type-available('count')" would always return true because there is a built-in function called "fn:count", regardless of whether a type named "count" was available in the in-scope schema types. [1] http://www.w3.org/TR/xslt20/#function-type-available [2] http://www.w3.org/TR/xpath-functions/
Problem conclusion
The XSLT function type-available now returns the correct results. The fix for this APAR is currently targeted for inclusion in Feature Pack for XML 1.0.0.3. Please refer to the Recommended Updates page for delivery information: http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
Temporary fix
Comments
APAR Information
APAR number
PM08107
Reported component name
XML FEATUREPACK
Reported component ID
5724J0856
Reported release
700
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2010-02-19
Closed date
2010-03-04
Last modified date
2010-03-04
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
XML FEATUREPACK
Fixed component ID
5724J0856
Applicable component levels
R700 PSY
UP
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SUPPORT","label":"IBM Worldwide Support"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.0","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
09 February 2022