I've also run into some problems with rexml/xpath.

Some one should track down what it is about your html page that is causing Rexml problems and then submit a bug report to the rexml project. When you get an Rexml bug number, it would hurt to include in a Jira/Watir bug report as well.

My sense is that that using Rexml to parse tidied html is outlying use case for Rexml and that is why we are seeing these problems. I think the Rexml team will fix them, but they need to be isolated and reported.

Bret

On 6/30/06, NIcky Sandhu <[EMAIL PROTECTED]> wrote:
>> require 'rexml/rexml'
require 'rexml/rexml'
=> true
>> print REXML::Version
print REXML::Version
3.1.4=> nil
>>

 
Warning: this e-mail may contain information proprietary to Raley's and is intended only for the use of the intended recipients. If the reader of this message is not an intended recipient, you are hereby notified that you have received this message in error and that any review, dissemination, distribution or copying of this message is strictly prohibited. If you have received this message in error, please notify the sender immediately.




From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Angrez Singh
Sent: Thursday, June 29, 2006 8:08 PM
To: [email protected]
Subject: Re: [Wtr-general] xpath error

Hi,

Are you using latest version of REXML i.e. 3.1.4 ? If not install latest version of REXML and try XPath again.

Regards,
Angrez

On 6/29/06, NIcky Sandhu <[EMAIL PROTECTED]> wrote:
I got an error using the xpath feature with watir 1.5.1.1045.
>> ie.link(:xpath,'//a[contains(string(.),"Search Now")]').click
 
I have attached the error document and the stack trace below.
The document seems to be valid xml and other xpath tools work fine
REXML::ParseException: #<Iconv::IllegalSequence: <<< see attached error.xml >>
....



_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general


_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to