IBM Support

IC60720: HATS <> STRINGS ON SCREEN ARE INTERPRETED AS HTML TAGS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A HATS customer has a screen that contains the data <S> on it.
    HATS is interpreting this data as the HTML tag Strikeout.  Thus,
    the screen that is renders now has a strikeout through the <S>.
    

Local fix

  • Using Char by Char alignment will alleviate this problem.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Any HATS users that have host fields that    *
    *                 are also valid HTML tags                     *
    ****************************************************************
    * PROBLEM DESCRIPTION: HATS incorrectly renders host screen    *
    *                      fields that are valid HTML tags.        *
    *                      For example, if a green screen has      *
    *                      data on it such as "<S> Select", then   *
    *                      HATS interprets the <S> as an HTML      *
    *                      Strikeout tag and renders the text,     *
    *                      "Select" with a strikeout through       *
    *                      it.                                     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Host screens may have fields that contains valid HTML tags such
    as <S>. If HATS interprets a field on a screen with a valid
    HTML tag such as <S> then all of the data in that field will
    be rendered according to the HTML tag.  The output of the
    rendered screen does not appear as expected.
    

Problem conclusion

  • A new parameter has been added to the runtime settings that will
    ignore HTML tags that are part of a field.  The new escapeHTML
    parameter is a runtime setting that is set to false by
    default.  The new option can be turned on in the *.hap file
    under the setting of:
    <class name="com.ibm.hats.common.RuntimeSettings"/>
    
    add the following statement to turn on this option:
    <setting name="escapeHTMLTags" value="true"/>
    

Temporary fix

  • You can also avoid this problem by using character by
    character rendering in the field widget.
    

Comments

APAR Information

  • APAR number

    IC60720

  • Reported component name

    RATL HATS TOOLK

  • Reported component ID

    5724U6801

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-04-08

  • Closed date

    2009-08-04

  • Last modified date

    2009-08-04

  • 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 HATS TOOLK

  • Fixed component ID

    5724U6801

Applicable component levels

  • R710 PSY

       UP

  • R750 PSY

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSXKAY","label":"IBM Host Access Transformation Services"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.1","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
04 August 2009