Skip to content

Follow up of javadoc issues in XJC #1865

@laurentschoelens

Description

@laurentschoelens

Follow up issue of #1826

Now we have malformed javadoc in bean definition (and enum)

Javadoc is now like, which is good for the first line but wrong for the rest.

/**
 * Test escape Javadoc &lt; &gt; &amp; ' " *<!---->/ Hello World
 * 
 * &lt;p&gt;Classe Java pour testEscapeJavadoc complex type.&lt;/p&gt;
 * 
 * &lt;p&gt;Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe.&lt;/p&gt;
 * 
 * &lt;pre&gt;{&#064;code
 * &lt;complexType name="testEscapeJavadoc"&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="lt" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
 *         &lt;element name="gt" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
 *         &lt;element name="amp" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
 *         &lt;element name="listLtGtAmp" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/&gt;
 *         &lt;element name="apos" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
 *         &lt;element name="quot" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
 *         &lt;element name="comment" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
 *       &lt;/sequence&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * }&lt;/pre&gt;
 * 
 */

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