sounds like he should be filing a bug that the page is not valid html
since it has ID's that are not unique within the document.

from: http://www.w3.org/TR/REC-html40/struct/global.html#h-7.5.2

7.5.2 Element identifiers: the id and class attributes
Attribute definitions

id = name [CS]
This attribute assigns a name to an element. This name must be unique
in a document.

One wonders if the page would pass muster with the validator?
http://validator.w3.org/


On Apr 10, 7:46 am, Bret Pettichord <b...@pettichord.com> wrote:
> Jarmo Pertman wrote:
> > Bret, is this bug already in Jira or should I report it?
>
> Althought technically a bug, I don't think we'll fix it. Fixing it would
> incur a performance penalty and it is not clear to me that this problem
> is actually bothering any one. Except maybe you. Can you explain for me
> why it is a problem for you?
>
> The bug is that Watir assumes that when it finds an object by ID it
> doesn't check type. Since ID's should be unique for a page, this is
> usually safe.
>
> Bret
>
> --
> Bret Pettichord
> CTO, WatirCraft LLC,www.watircraft.com
> Lead Developer, Watir,www.watir.com
> Blog,www.io.com/~wazmo/blog
> Twitter,www.twitter.com/bpettichord
>
> Watir Training: Portland/Beaverton April 16-17www.watircraft.com/training
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to