[Bug 6777] In HTML documents, no-namespace expression must match http://www.w3.org/1999/xhtml nodes

http://www.w3.org/Bugs/Public/show_bug.cgi?id=6777





--- Comment #21 from Jonathan Robie <jonathan.robie@redhat.com>  2009-04-06 19:57:24 ---
(In reply to comment #20)

> The thing is that HTML nodes need to match against two kinds of expressions:
> 1) Expressions from the past the have no namespace.
> 2) Expressions from the future that have the http://www.w3.org/1999/xhtml
> namespace.
> 
> Basically, the issue is having the backwards-compatibility cake and eating the
> HTML/XHTML DOM consistency cake, too.

But you do this by trying to force a major inconsistency into XPath. Speaking
for myself, I'd be very surprised if this proposal were accepted.

A nametest that does not contain a wildcard specifies one name. It matches
nodes that have that name. I would strongly oppose any change to that.

Jonathan


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Monday, 6 April 2009 19:57:40 UTC