APAR status
Closed as program error.
Error description
Normalize xstype null namespace to ""
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: Users of IBM WebSphere Application Server * * v7 Feature Pack for Service Component * * Architecture (SCA) Refresh Pack v1.0.1 * **************************************************************** * PROBLEM DESCRIPTION: Normalize xsType null namespace to "" * **************************************************************** * RECOMMENDATION: * **************************************************************** When the following XSD was used to define the anonymous type named LocalElement under the null namespace (without namespace), calling TypeHelper.getType(null, "LocalElement") won't be able to retrieve the type. <?xml version="1.0" encoding="UTF-8"?> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <xsd:element name="LocalElement"> <xsd:complexType> <xsd:sequence> <xsd:element name="Value"> <xsd:complexType> <xsd:sequence> <xsd:element name="ValueLocalElement" type="xsd:string"/> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:schema>
Problem conclusion
The problem is the key of the anonymous type hash map is null when the type is anonymous. When the users called TypeHelper.getType(String namespace, String typeName) with null namespace, the namespace argument is normailized by javax.xml.namespace.QName.getNamespaceURI() to become XMLConstants.NULL_NS_URI ("") before trying to retrieve type from the hash map. To solve the problem, the key of the hash map has been normailzed to XMLConstants.NULL_NS_URI when it is null. APAR PM05982 is currently targeted for inclusion in Service Level (Fix Pack) 1.0.1.3 of WebSphere Application Server v7 Feature Pack for Service Component Architecture (SCA) Refresh Pack. 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
PM05982
Reported component name
WAS SCA FEATURE
Reported component ID
5724J0854
Reported release
700
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2010-01-25
Closed date
2010-02-16
Last modified date
2010-02-16
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
WAS SCA FEATURE
Fixed component ID
5724J0854
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.1","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
09 February 2022