Fixes are available
Rational Software Architect 9.1.1
Rational Software Architect for WebSphere Software 9.1.1
Rational Software Architect for WebSphere Software 9.1.2
Rational Software Architect 9.1.2
Rational Software Architect for WebSphere Software Fix Pack 1 (9.1.2.1) for 9.1.2
Rational Software Architect Fix Pack 1 (9.1.2.1) for 9.1.2
Rational Software Architect Fix Pack 2 (9.1.2.2) for 9.1.2
Rational Software Architect Fix Pack 3 (9.1.2.3) for 9.1.2
Rational Software Architect for WebSphere Software Fix Pack 1 (9.1.2.3) for 9.1.2
APAR status
Closed as program error.
Error description
In IBM Rational Software Architect (RSA), if you run a UML-to-XSD transformation, an 'include' statement will contain an empty 'schemaLocation'. The following steps recreate the problem: 1. Create a UML project ? UML model and include a folder with the project 2. Apply the 'XSD Transformation' profile to the model 3. Add two packages to the model and apply the 'schema' stereotype to both of them 4. Add a class to each of the packages 5. Add some XSD types to each of the packages 6. Add a UML-to-XSD transformation configuration to the project 7. Select the two schemas (packages) as the 'Source' of the transformation configuration and the folder from Step 1 as the 'Target' 8. Configure the 'Output Options' table in the transformation configuration, such that the XSDs for both schemas are generated into the same file 9. Run the transformation and examine the resulting XSD file RESULT: The following line will appear in the XSD file: [?BEGIN CODE?] '?xsd:include schemaLocation=''/?' [?/END CODE?] which should not have been generated. Workaround: Remove the 'include' statement manually from the XSD file.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * **************************************************************** * PROBLEM DESCRIPTION: * **************************************************************** * RECOMMENDATION: * **************************************************************** In UML-to-XSD/WSDL transformation, user have the option to generate combined schema for multiple packages. User can create a map in the transformation configuration editor indicating which package content whould be generated where. In such a scenarion where multiple packages are mapped to the same destination file, transformation generates an "include" statement with an empty "schemaLocation".
Problem conclusion
The referenced schema in this scenarion happens to be in the same file and thus a "include" statement with an empty "schemaLocation" gets generated. A check has been put not to generate the same in this kind of scenarions.
Temporary fix
Comments
APAR Information
APAR number
PI21546
Reported component name
RATL APP DEV WI
Reported component ID
5724J1901
Reported release
900
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2014-07-08
Closed date
2014-10-31
Last modified date
2014-10-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
SW ARCHITECT WI
Fixed component ID
5724I7001
Applicable component levels
R900 PSN
UP
Document Information
Modified date:
17 October 2021