IBM Support

IT26217: MAPPING NODE GIVES A VALIDATION ERROR IN THE TOOLKIT FOR LIBRARY WITH SPACES IN THE NAME.

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • If a mapping node references a element in a schema that is
    defined in a library and that library has
    spaces in the  name then the a validation error occurs similar
    to the following:
    Description Resource Path Location Type
    Unable to locate object named
    "mlib://FTM%20Core%20ISF%20for%20Payments%20V3#/-/complexType{ht
    tp://www.ibm.com/xmlns/prod/ftm/isf/v3}CreditorRole". Test.map
    /SPS Map line 17 Message Broker Map Reference Problem
    
    
    Code change goes in :
    private void addReferenceSymbolForCast(IFile map, CastDesignator
    cast){
    }else if(node instanceof XMLTypeNode){ // casting types
    			EObject comp=((XMLTypeNode)node).getObject();
    			if(comp instanceof XSDTypeDefinition){ // should
    always be true
    				XSDSchema
    schema=((XSDConcreteComponent)comp).getSchema();
    				if(schema!=null){
    					String
    location=schema.getSchemaLocation(); //
    platform:/resource/proejctName/folderName/filename.extenstion
    					if(PlatformProtocol.isInWorkspace(locat
    ion)){ // only add symbols for workspace references
    						location=location.substring(Platfo
    rmProtocol.PROTOCOL_RESOURCE_LENGTH+1); //
    						int slash=location.indexOf('/');
    						if(slash>0){
    							String
    schemaPrj=location.substring(0,slash);
    							schemaPrj =
    schemaPrj.replaceAll("%20", " ");        <-------------------
    CODE CHANGE remove %20 and replace with space.
    							String refSymbol=null;
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    All user of IBM Integration Bus V10.0 and IBM App Connect
    Enterprise V11.0 using the mapper node with shared libraries.
    
    
    Platforms affected:
    Windows on x86-64 platform, Linux on x86-64 platform
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    If a mapping node references a element in a schema that is
    defined in a library and that library has
    spaces in the  name then the a validation error occurs similar
    to the following:
    Description Resource Path Location Type
    Unable to locate object named
    "mlib://FTM%20Core%20ISF%20for%20Payments%20V3#/-/complexType{ht
    tp://www.ibm.com/xmlns/prod/ftm/isf/v3}CreditorRole". Test.map
    /SPS Map line 17 Message Broker Map Reference Problem
    

Problem conclusion

  • The product now correctly references the symbols if they are in
    a shared library that contains  spaces in the name
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
    Version    Maintenance Level
    v10.0      10.0.0.15
    v11.0      11.0.0.3
    
    The latest available maintenance can be obtained from:
    http://www-01.ibm.com/support/docview.wss?rs=849&uid=swg27006041
    
    If the maintenance level is not yet available,information on
    its planned availability can be found on:
    http://www-1.ibm.com/support/docview.wss?rs=849&uid=swg27006308
    ---------------------------------------------------------------
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT26217

  • Reported component name

    IIB TOOLKIT

  • Reported component ID

    5724J0541

  • Reported release

    A00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-09-07

  • Closed date

    2018-12-19

  • Last modified date

    2018-12-19

  • 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

    IIB TOOLKIT

  • Fixed component ID

    5724J0541

Applicable component levels

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSNQK6","label":"IBM Integration Bus"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.0","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
19 December 2018