QDox
  1. QDox
  2. QDOX-161

Annotation with comment can't be parsed

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.10
    • Fix Version/s: 1.9.1
    • Component/s: Parser
    • Labels:
      None
    • Environment:
      WinXP, Java 1.5
    • Number of attachments :
      0

      Description

      Complex Annotations like

      @org.hibernate.validator.Pattern(regex="[a-z0-9!#$%&'*+/=?^_`

      {|}~-](?:
      .[a-z0-9!#$%&'*
      /=?^_`{|}

      ~-])@(?:[a-z0-9](?:[a-z0-9-][a-z0-9])?
      .)
      [a-z0-9](?:[a-z0-9-]*[a-z0-9])?")

      @OneToMany(cascade =

      {/* CascadeType.PERSIST */}

      , fetch = FetchType.LAZY)

      are ending up in parsing errors

        Activity

        Hide
        Robert Scholte added a comment -

        It's not the complex-part which results in an exception, but it's the comment within the second annotation.

        Show
        Robert Scholte added a comment - It's not the complex-part which results in an exception, but it's the comment within the second annotation.
        Robert Scholte made changes -
        Field Original Value New Value
        Summary Complex Annotation can't be parsed Annotation with comment can't be parsed
        Hide
        Robert Scholte added a comment -

        r593 | rfscholte | 2009-05-01 16:41:16 CEST

        fix/text for qdox-161: annotation with comment
        ----------------------------------------------------------------------------

        Show
        Robert Scholte added a comment - r593 | rfscholte | 2009-05-01 16:41:16 CEST fix/text for qdox-161: annotation with comment ----------------------------------------------------------------------------
        Robert Scholte made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.9.1 [ 15252 ]
        Assignee Robert Scholte [ rfscholte ]
        Resolution Fixed [ 1 ]
        Robert Scholte made changes -
        Fix Version/s 1.9.1 [ 15252 ]
        Fix Version/s 1.10 [ 15020 ]
        Paul Hammant made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Paul Hammant made changes -
        Resolution Fixed [ 1 ]
        Fix Version/s 1.10 [ 15020 ]
        Status Reopened [ 4 ] Closed [ 6 ]
        Fix Version/s 1.9.1 [ 15252 ]

          People

          • Assignee:
            Robert Scholte
            Reporter:
            Lars Huber
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: