IBM Support

PM86704: Documentation not included for complex types extending other simplecontent complex types

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In the UML-to-XSD transformation in IBM Rational Software
    Architect for WebSphere v8.0.4.2, the documentation is not
    included for the complex types extending other simplecontent
    complex types.
    
    The following steps reproduce the problem:
    
    1. Create a UML Model and apply the 'XSD Transformation Profile'
    2. Define a UML class 'A' and apply the '??complexType??'
    stereotype
    3. Add an attribute to the class and apply the '??attribute??'
    stereotype to this attribute
    4. Add a generalization relationship from class 'A' to the
    'string' data type, so that the class 'A' extends the 'string'
    type
    5. Define a UML Class 'B' and apply the ??complexType??
    stereotype to it
    6. Add a generalization relationship from class 'B' to class
    'A', so that class 'B' extends class 'A'
    7. Add documentation to class 'B'
    8. Add a UML-to-XSD transformation and run this transformation
    
    Expected Result: The transformed XML schema includes:
    
    --?class 'A' as a 'complexType' with 'simpleContent'
    --?class 'B' as a 'complexType' with 'simpleContent'
    
    along with documentation on complexType level.
    
    Actual Result: The transformed XML schema does not include the
    documentation.
    
    [?code?]
      ?xsd:complexType name='DateTimeRoleType'?
        ?xsd:simpleContent?
          ?xsd:extension base='tns:CodeListElementField'/?
        ?/xsd:simpleContent?
      ?/xsd:complexType?
    [?/code?]
    
    There is no workaround.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The Documentation is not processed for complex types
    extending other simplecontent complex types by UML to XSD
    transformation.
    

Problem conclusion

  • The Documentation is now processed for complex types
    extending other simplecontent complex types by UML to XSD
    transformation.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM86704

  • Reported component name

    SW ARCHITECT WI

  • Reported component ID

    5724I7001

  • Reported release

    804

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-04-10

  • Closed date

    2013-06-17

  • Last modified date

    2013-06-17

  • 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

  • R804 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSYKBQ","label":"Rational Software Architect Designer for WebSphere Software"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"804","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS4JCV","label":"Rational Software Architect for WebSphere Software"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"804","Edition":"","Line of Business":{"code":"LOB15","label":"Integration"}}]

Document Information

Modified date:
17 June 2013