IBM Support

PM54958: HTML report automatically generated opening a URL attached to a UML element

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Environment:
    - Microsoft Windows XP 3
     - IBM Rational Software Architect 8.0.2,8.0.2, 8.0.4
    
    Reproducible Y/N: Y
    
    Description of problem:
    Double clicking, in the project explorer, on a URL attached to a
    UML element automatically create a html reported with a message
    such as:
    org.xml.sax.SAXParseException: Content is not allowed in prolog.
    (platform:/resource/TestUML/docs/Test.doc, 1, 1)
    
    Steps to reproduce:
    
    1. Create a UML project with a UML model ('TestProject' and
    'TestModel')
    2. Add a folder 'docs' to the project 'TestProject'
    3. Add to the 'docs' folder a Microsoft word document.
    4. In the model TestModel, add a UML element such as a UseCase.
    5. Right click on the UseCase
    6. Add a URL that points to a document (for example a Microsoft
    word 'Test.doc') choosing
    to use the 'workspace path' option and browsing in the workspace
    to the 'docs'
    folder created in step 3.
    7. Double click, in the project explorer, on the URL that
    appeared under the uml element
    
    Result:
    The document opens as expected.
    A html report file is created under the 'docs' folder with a
    name such as Test_problem_report_1.html
    Opening the html report you can see the following message:
    message: org.xml.sax.SAXParseException: Content is not allowed
    in prolog. (platform:/resource/TestUML/docs/Test.doc, 1, 1)
    In the ,log of the workspace, you get the following error:
    !ENTRY com.ibm.xtools.bpmn2.ui.diagram 4 12 2011-12-21
    17:45:29.421
    !MESSAGE Problems were found in model Test.doc. Please see file
    model Test_problem_report_1.html for more information.
    
    (the .log is located in the .metadata foder under the workspace
    directory or can be viewed via Window-? Show view-? Other-?
    General-? Error Log).
    
    
    Expected Result:
    The document opens from the project explorer shortcut without
    errors nor creation of html reports.
    
    Workaround:
    None apart from deleting the html report once created.
    The html report is created only once per document when you first
    open the document having initiated a new RSA session.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    An error report gets generated when opening a URL attached
    to an element like a Microsoft Word Document.
    

Problem conclusion

  • The element attached to the URL gets opened without
    generating any HTML error report.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM54958

  • Reported component name

    RATL SW ARCHITE

  • Reported component ID

    5725A3000

  • Reported release

    802

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-12-23

  • Closed date

    2012-06-20

  • Last modified date

    2012-06-20

  • 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

  • R802 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":"802","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":"802","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
10 September 2020