You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Element#attribute fails to find attribute when namespace URL is duplicated #346
Result of node.attribute 'b', 'url1' has changed in #335 as a bugfix (DOM spec violation) of Attributes#get_namespace. node.attribute 'a', 'url1' case is related to #151.
However, it may introduce incompatibility mentioned in #151.
If this method is fixed as above, I think we don't need to deprecate this method (discussed in #151) because it will be a useful method: a superset of attributs.get_attribute_ns and attributs.get_attribute.
Activity
tompng commentedon Jul 5, 2026
Maybe it's possible to only fix the bug and try to leave fallback like this:
Fix Element#attribute when a namespace URI has multiple bindings (rub…