Reputation: 2066
Small question about JAXB auto code generation.
For the comment part, it will generate some schema like following:
<element name="partner_system_priority" type="{http://www.w3.org/2001/XMLSchema}int"/>
I want to know why JAXB dont make > as a >?
Br,
Tim
Upvotes: 1
Views: 69
Reputation: 29703
This comment is generated for javadoc
tool.
So this comment will be a part of HTML page after javadoc generation.
It is enough to replace only first less then
(<
) symbol with <
in HTML report.
Both
<element name="partner_system_priority"
type="{http://www.w3.org/2001/XMLSchema}int"/>
and
<element name="partner_system_priority"
type="{http://www.w3.org/2001/XMLSchema}int"/>
will be interpreted by browser as
<element name="partner_system_priority"
type="{http://www.w3.org/2001/XMLSchema}int"/>
So, no reason to do redundant replacement
Upvotes: 2