Closed
Bug 34183
Opened 24 years ago
Closed 24 years ago
The name attribute on the binding element should be renamed to id
Categories
(Core :: XBL, defect, P3)
Core
XBL
Tracking
()
RESOLVED
FIXED
M16
People
(Reporter: sjoerd, Assigned: hyatt)
Details
(Whiteboard: 1/2 day, 4/21)
Dave, you said you wanted to fix this. Are you still going to?
Assignee | ||
Comment 1•24 years ago
|
||
Show me a precedent for the ID being used as a # in an URL.
Reporter | ||
Comment 2•24 years ago
|
||
http://www.w3.org/TR/xhtml11/changes.html#a_changes in XHTML 1.1 <a name=""> is no longer supported.
Assignee | ||
Comment 3•24 years ago
|
||
Are they switching to using ID as a reference using # then?
Reporter | ||
Comment 4•24 years ago
|
||
http://www.w3.org/TR/html401/struct/links.html#h-12.2.3 (Collision will make your question disappear) html 4 already supports # to an ID http://www.w3.org/TR/xpath#function-id XML XPath does no longer support the # notation, and instead had the id() function. http://www.w3.org/TR/xpath#unique-id It points to a unique-id. http://www.w3.org/TR/REC-xml#one-id-per-el We can't have both name and id. <bindings> now has 'id' and <binding> has 'name'. This is inconsistent (valid though) Does XUL have a DTD somewhere, where 'name' is defined as an ID-type attribute? I'm sorry. It will give you some extra work, but I think it's important.
Reporter | ||
Comment 5•24 years ago
|
||
Hey, your question is not removed. A bug in bugzilla... (it should not report a collision)
Reporter | ||
Comment 6•24 years ago
|
||
"In order to ensure that XHTML 1.0 documents are well-structured XML documents, XHTML 1.0 documents MUST use the id attribute when defining fragment identifiers, even on elements that historically have also had a name attribute." I was wrong on xpath not supporting #. It starts with # by default. ;-) A bare name like #scrollbar is equivalent to #xpointer(id("scrollbar"))
Assignee | ||
Comment 7•24 years ago
|
||
Got it. Definitely seems like id is what we should be using. Accepting for M15.
Status: NEW → ASSIGNED
Target Milestone: --- → M15
Assignee | ||
Updated•24 years ago
|
Whiteboard: 1/2 day, 4/21
Assignee | ||
Comment 9•24 years ago
|
||
done.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•