- From: Sergey Ilinsky <castonet@yahoo.co.uk>
- Date: Thu, 14 Feb 2008 16:00:38 +0000 (GMT)
- To: public-webapi@w3.org
I think specification misses a paragraph (or at least a note) on handling selectors with xml:* attributes, the "xml" prefix is an exception whose namespace doesn't need to be defined explicitly.
I believe, a selector "html[xml|lang=en]" (running on the document below taken from specification) should not raise a NAMESPACE_ERR exception in case no NSResolver provided, that would currently be the case.
xmlns:svg="http://www.w3.org/2000/svg"
xml:lang="en">
<head>
<title>Selectors API Example</title>
</head>
<body>
<div><svg:svg … > … </svg:svg></div>
<p><svg:svg … > … </svg:svg></p>
…
</body>
</html>
Sergey/
__________________________________________________________
Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com
Received on Thursday, 14 February 2008 16:00:52 UTC