Commons JXPath
  1. Commons JXPath
  2. JXPATH-17

JXPathContext.iteratePointers("//*") results are incorrect

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2 Final
    • Fix Version/s: 1.3
    • Labels:
      None
    • Environment:

      Operating System: Linux
      Platform: Other

      Description

      Sometimes strange strings, such as "bytes[1]" and "valid", etc. appear in
      resulting Pointer.asPath() output instead of the actual data.
      Please run the main of the attached class to see what I mean.
      Thanks.

        Activity

        Boris Ekelchik created issue -
        Hide
        Boris Ekelchik added a comment -

        Created an attachment (id=16833)
        Test case

        Show
        Boris Ekelchik added a comment - Created an attachment (id=16833) Test case
        Hide
        Boris Ekelchik added a comment -

        Btw, "//text()" doesn't work either. JXPathContext.iterate() or
        iteratePointers() return no values.

        Show
        Boris Ekelchik added a comment - Btw, "//text()" doesn't work either. JXPathContext.iterate() or iteratePointers() return no values.
        Hide
        Dmitri Plotnikov added a comment -

        The issue with extraneous properties showing up is now fixed.
        As far as text() is concerned, JXPath only supports that node type for DOM,
        JDOM and other XML-based data models.

        Show
        Dmitri Plotnikov added a comment - The issue with extraneous properties showing up is now fixed. As far as text() is concerned, JXPath only supports that node type for DOM, JDOM and other XML-based data models.
        Henri Yandell made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 37299 12342665
        Henri Yandell made changes -
        Project Commons [ 12310458 ] Commons JXPath [ 12310480 ]
        Component/s JXPath [ 12311120 ]
        Key COM-2513 JXPATH-17
        Assignee Jakarta Commons Developers Mailing List [ commons-dev@jakarta.apache.org ]
        Affects Version/s 1.2 Final [ 12311661 ]
        Henri Yandell made changes -
        Affects Version/s 1.2 Final [ 12311699 ]
        Show
        Niall Pemberton added a comment - Fixed: http://svn.apache.org/viewvc?view=rev&revision=329518
        Niall Pemberton made changes -
        Fix Version/s 1.3 [ 12312253 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Boris Ekelchik
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development