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.


      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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 14 February 2008 16:00:52 GMT