commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Croé (JIRA) <>
Subject [jira] Created: (JXPATH-118) wrongs xpath string from pointer.asPath()
Date Fri, 08 Feb 2008 14:27:13 GMT
wrongs xpath string from pointer.asPath()

                 Key: JXPATH-118
             Project: Commons JXPath
          Issue Type: Bug
    Affects Versions: Nightly Builds
         Environment: jdk 1.603 jdom 1.1
            Reporter: David Croé

Hello ! 
after playing around awhile with JXPath and Jdom i guess i've found a bug:

when trying to iterate of a html document parsed with jdom in this way:

iterator = context.iteratePointers("/HTML[1]/BODY[1]/P[3]/TABLE[1]/TR/TD[3]");
                     Pointer pointer = (Pointer);
                     System.out.println("path:"+ pointer.asPath()+":"+((Content)pointer.getNode()).getValue());

i get some wrong outputs.

this shows sometime the wrong path for example:
but the value found is correct. I

i would expect for example

Am i wrong or is this a bug !? 
  david croe

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message