IBM Support

PM88777: JavaDoc generated by UML to Java contains ?nbsp; (non-breaking space)

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Environment:
    - Microsoft Windows
        - Product: RSA 8.5
    
    Reproducible: Y
    
    Description of problem:
    
    The fix of PM73705 that was introduced in RSA 8.5.1 has adverse
    consequence for UML to Java Transformation.
    After this defect fix, every space is represented by ?nbsp;
    This is fine for the documentation itself, but the   ?nbsp;  is
    then emitted in the Javadocs by the UML to Java transformation.
    
    Steps to reproduce
    
    With Rich text option enabled by default, if you add this text
    as documentation of a new UML Class:
    
    This is one line
    
    This is another line
    
    and yet another one.
    
    
    
    (where you pressed ENTER between lines) and then run a UML to
    Java transformation, it gets transformed to:
    /**
    
     * ?!-- begin-UML-doc --?
    
     *
    
    ?p?This?nbsp;is?nbsp;one?nbsp;line?/p??p?This?nbsp;is?nbsp;anoth
    er?nbsp;
    line?/p??p?and?nbsp;yet?nbsp;another?nbsp;one.?/p?
    
     * ?!-- end-UML-doc --?
    
     * @author 098561
    
     * @generated 'UML to Java
    
    (com.ibm.xtools.transform.uml2.java5.internal.UML2JavaTransform)
    '
    
     */
    
    public class Class1 {
    
    }
    
    Workaround
    
    No known workaround.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    UML to Java transformation replaced all spaces in UML
    documentation with ?nbsp in the generated Java code.
    

Problem conclusion

  • UML to Java transformation no longer replace all spaces in
    UML documentation with ?nbsp in the generated Java code.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM88777

  • Reported component name

    RATL SW ARCHITE

  • Reported component ID

    5725A3000

  • Reported release

    851

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-05-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

    RATL SW ARCHITE

  • Fixed component ID

    5725A3000

Applicable component levels

  • R851 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSYK2S","label":"Rational Software Architect Designer"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"851","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSYK2S","label":"Rational Software Architect Designer"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"851","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
10 September 2020