From: Ronald B. <rb...@rb...> - 2016-08-25 06:56:14
|
Hi Vasu > When I was using HTMLUNIT 2.10, I did not see xml-apis-1.x.x.jar in the > dependency JAR file list. Now, the current version has xmi-apis-1.4.01.jar > file bundled with dependency library list. Please note that I was not using the > XPATH API calls that comes with HTMLUnit. version 2.10 is now 4 years old, maybe something has changed inbetween :-) xml-apis-1.4.01.jar is a dependency required by xercesImpl 2.11.0. Xerces is used by our html parser; this has nothing to do with XPath handling. > The data extraction using XPATH which was working on earlier version of > HTMLUnit does not seem to work in current version of HTMLUnit. > > Is there any reason for this behaviour?. Am I doing anything wrong? Yes there is :-). But without more details i can only guess what might going wrong. Possible options are * we did some fixes for the html parser that results in a different (of course more correct) dom tree. In this case you might adjust your XPath. * we did some fixes for the XPath processing itself. In this case you might fix your XPath. * we have (unintentionally) added some new bugs. In this case you have to file an issue. Maybe there are more possible reasons. Outside of this, it will be easier for you and for us to nail down problems, if the version jumps are not that big. Keep in mind, that we usually support only the latest version. There is no time for us to do more. It might be a good tactic to be in sync with the latest release and update you software shortly after new release of HtmlUnit are available. > > Looking forward to some pointers on this issue. Hope that helps. > >Regards > Vasu > > > >----< Inline text [text-plain-04.txt] >------------------ > >------------------------------------------------------------------------------ > > > >----< Inline text [text-plain-05.txt] >------------------ > >_______________________________________________ >Htmlunit-user mailing list >Htm...@li... >https://lists.sourceforge.net/lists/listinfo/htmlunit-user > > |