W3C home > Mailing lists > Public > public-webapi@w3.org > February 2008

[selectors-api] NSResolver and xml:* attributes (xml:id, xml:lang, xml:base, xml:space)

From: Sergey Ilinsky <castonet@yahoo.co.uk>
Date: Thu, 14 Feb 2008 16:00:38 +0000 (GMT)
To: public-webapi@w3.org
Message-ID: <897042.54712.qm@web26913.mail.ukl.yahoo.com>

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.

    <title>Selectors API Example</title>
    <div><svg:svg … > … </svg:svg></div>
    <p><svg:svg … > … </svg:svg></p>



Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com

Received on Thursday, 14 February 2008 16:00:52 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:09:59 UTC