jaxb
  1. jaxb
  2. JAXB-1022

'>' not escaped in doclet comments

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: xjc
    • Labels:
      None

      Description

      When generating the JAXB classes using XJC, the javadoc example xml instance has the '<' properly encoded while the closing '>' is not.
      The result is that if one is making a maven release which triggers the javadoc compilation the errors will break that step thus the whole release.
      This was observed on MacOSX and JDK8.

        Activity

        Hide
        Lukas Jungmann added a comment -

        I'd say this is jdk8 related, duplicate of https://java.net/jira/browse/JAXB-973 and not a blocker, since workaround is to pass -Xdoclint:none to javadoc executable as is documented ie here: http://blog.joda.org/2014/02/turning-off-doclint-in-jdk-8-javadoc.html

        Show
        Lukas Jungmann added a comment - I'd say this is jdk8 related, duplicate of https://java.net/jira/browse/JAXB-973 and not a blocker, since workaround is to pass -Xdoclint:none to javadoc executable as is documented ie here: http://blog.joda.org/2014/02/turning-off-doclint-in-jdk-8-javadoc.html
        Hide
        p.gillissen added a comment -

        hi schrepfler
        I had the same issue (with Java 7) and solved it by updating the Maven JAXB plugin (org.jvnet.jaxb2.maven2:maven-jaxb2-plugin) to version 0.12.3. Now all my > are correctly escaped.

        Show
        p.gillissen added a comment - hi schrepfler I had the same issue (with Java 7) and solved it by updating the Maven JAXB plugin (org.jvnet.jaxb2.maven2:maven-jaxb2-plugin) to version 0.12.3. Now all my > are correctly escaped.

          People

          • Assignee:
            Iaroslav Savytskyi
            Reporter:
            schrepfler
          • Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated: