Ticket #3 (new defect)

Opened 2 years ago

Last modified 2 years ago

'name' attribute isn't unique

Reported by: docwhat.gerf.org Owned by: docwhat.gerf.org
Priority: normal Milestone: 0.9 Release
Component: widgets Version:
Severity: normal Keywords: name unique checking
Cc: ravi.kanth@…

Description

Formable doesn't enforce unique names. Names must be unique, just like ids.

From Ravi:


I can add two elements with the same name to a Formable form.

With this, it is hard to diagnose which element is actually rendered and debugging is difficult.

Formable should do a check for uniqueness on the name of all elements in a form.

- Ravi

Change History

Changed 2 years ago by docwhat.gerf.org

  • cc jim.spinelli@… removed

Changed 2 years ago by docwhat.gerf.org

Additional documentation. From http://www.w3.org/TR/html4/struct/links.html#h-12.2.1

An anchor name is the value of either the name or id attribute when used in the context of anchors. Anchor names must observe the following rules:

  • Uniqueness: Anchor names must be unique within a document. Anchor names that differ only in case may not appear in the same document.
  • String matching: Comparisons between fragment identifiers and anchor names must be done by exact (case-sensitive) match.
Note: See TracTickets for help on using tickets.