Skip to content

Invalid Javadoc can be generated from SBE xml files for > and < #826

Closed
@RichardWarburton

Description

@RichardWarburton

SBE generates javadoc from description tags in SBE xml files. It converts HTML escaped < and > characters &lt; and &gt; into plaintext ones, which then generates invalid javadoc. If the escaped HTML characters were preserved then correct javadoc would be generated. Examples below:

SBE description tag
description="Price of this fill reason or allocation. Required if NoFills(1362) &gt; 0. Same as LastPx(31)"

Currently generated Javadoc
* @return PRICE9Decoder : Price of this fill reason or allocation. Required if NoFills(1362) > 0. Same as LastPx(31)

Javadoc tool error
/path/to/SomeFile.java:2594: error: bad use of '>' * @return PRICE9Encoder : Price of this fill reason or allocation. Required if NoFills(1362) > 0. Same as LastPx(31)

What I would expect for Javadoc
* @return PRICE9Decoder : Price of this fill reason or allocation. Required if NoFills(1362) &gt; 0. Same as LastPx(31)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions