[prev in list] [next in list] [prev in thread] [next in thread] 

List:       htmlunit-develop
Subject:    [HtmlUnit] [ htmlunit-Bugs-2865948 ] wrong xpath with doctype
From:       "SourceForge.net" <noreply () sourceforge ! net>
Date:       2009-09-29 8:33:47
Message-ID: E1MsY9b-0007qN-VO () cdv4jf1 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Bugs item #2865948, was opened at 2009-09-24 21:00
Message generated for change (Comment added) made by mguillem
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=448266&aid=2865948&group_id=47038

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: None
Group: Latest code in SVN
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Jari Bakken (jaribakken)
>Assigned to: Marc Guillemot (mguillem)
Summary: wrong xpath with doctype

Initial Comment:
Updated to the latest 2.7-SNAPSHOT. 
Before the update, calling getCanonicalXPath() on the innermost div would return:

"/html/body/div"

After the update:

"/html[2]/body/div"

If I remove the doctype declaration, the problem goes away.



----------------------------------------------------------------------

>Comment By: Marc Guillemot (mguillem)
Date: 2009-09-29 10:33

Message:
Now fixed in SVN. Thanks for reporting.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=448266&aid=2865948&group_id=47038

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
HtmlUnit-develop mailing list
HtmlUnit-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/htmlunit-develop
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic