[ 
http://jira.openqa.org/browse/WTR-190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Charley Baker resolved WTR-190.
-------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: Next)
                   1.6.6

Closing, we're using nokogiri now and the OP can't repro.

> Watir can generate invalid attributes in tags which makes rexml raise an 
> exception [patch]
> ------------------------------------------------------------------------------------------
>
>                 Key: WTR-190
>                 URL: http://jira.openqa.org/browse/WTR-190
>             Project: Watir
>          Issue Type: Bug
>          Components: Xpath Support
>    Affects Versions: 1.5.3
>         Environment: Windows XP Sp2
>            Reporter: Christian Fraenkel
>            Assignee: Angrez
>            Priority: Major
>             Fix For: 1.6.6
>
>         Attachments: patch.txt
>
>
> in watir/ie.rb, all_tag_attributes, the used regex to filter attribute names 
> is not restrictive enough - it allows every printable char in attribute names 
> (which can lead to attributes like 'false;?="false;?"' for example).
> A better regex that will not exhibit that problem would be 
> /^[\w:][\w0-9.\-:]*$/
> I posted about this in the watir group: 
> http://groups.google.com/group/watir-general/browse_thread/thread/454ba4d8bb4ea8b4

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.openqa.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
Wtr-development mailing list
Wtr-development@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-development

Reply via email to