QDox
  1. QDox
  2. QDOX-134

Upgrading breaks parsing of doclet tag parameters

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.3
    • Fix Version/s: 1.10.1
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      We have been using qdox 1.1 for a while now, and in a desire to have support for Java generics we are attempting to upgrade to 1.6.3

      However we are encountering a bug... consider this class:

      /**

      • @myTag name=TestClass attrs=Something1,Something2,Something3
        */
        public class TestClassImpl {
        }

      before we would get the DocletTag for myTag and do a getParameters and it would give us a String array:

      {"name=TestClass","attrs=Something1,Something2,Something3"}

      now the same thing gives us

      {"name","=","TestClass","attrs","=","Something1",",","Something2",",","Something3"}

      ie it gets split up at all ='s and ,'s

      I think this may have to due with this change: http://archive.qdox.codehaus.org/scm/20040531145056.11387.qmail%40codehaus.org

      I am now starting to hack around this, but would much prefer to get this resolved.

        Activity

        Hide
        Paul Hammant added a comment -

        I've updated LexerTest.java
        it now has a test testQDOX134_MoreAnnotationTokens()

        But also see the method above for an additional broken item in respect of doclet params.

        Josh : is this still important to you? Or have you flipped your codebase to Java 5 ?

        Show
        Paul Hammant added a comment - I've updated LexerTest.java it now has a test testQDOX134_MoreAnnotationTokens() But also see the method above for an additional broken item in respect of doclet params. Josh : is this still important to you? Or have you flipped your codebase to Java 5 ?
        Paul Hammant made changes -
        Field Original Value New Value
        Summary Upgrading breaks parsing of parameters Upgrading breaks parsing of doclet tag parameters
        Paul Hammant made changes -
        Fix Version/s 1.11 [ 15653 ]
        Hide
        Robert Scholte added a comment -

        Fix in rev-675

        Show
        Robert Scholte added a comment - Fix in rev-675
        Robert Scholte made changes -
        Assignee Robert Scholte [ rfscholte ]
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: