W3C home > Mailing lists > Public > public-appformats@w3.org > October 2006

[XBL] XBL 2.0 - Selectors for parsing, and XPath?

From: <karl@w3.org>
Date: Thu, 05 Oct 2006 05:45:01 -0000
To: public-appformats@w3.org
Message-Id: <20061005054521.7E8134F312@homer.w3.org>

Hi,
This is a QA Review comment for "XML Binding Language (XBL) 2.0"
http://www.w3.org/TR/2006/WD-xbl-20060907/
2006-06-19
Last Call WD

About http://www.w3.org/TR/2006/WD-xbl-20060907/#attributes


The specification defines a MUST requirement for parsing the document.
 
[[[
1.2.1. Attributes Containing Selectors

The element attribute of the binding element and the includes attribute of the content element, if specified, must be parsed according to the rules in the Selectors specification. [SELECTORS]
]]] -- XML Binding Language (XBL) 2.0
       http://www.w3.org/TR/2006/WD-xbl-20060619/#attributes
       Tue, 20 Jun 2006 15:27:58 GMT

It makes then impossible for a conformant parser to use XPath (or any kind of parsing method like regex) to parse the document. Many XML tools have already implemented XPath and it doesn't seem there are a lot implementing Selectors. It would be better to not have a MUST on this requirement. Does it bring any benefits to impose the parsing rules?

Selectors is also still a Working Draft. It means the XBL 2.0 specification will not be able to reach Rec until Selectors have itself reached PR.




-- 
Karl Dubost - http://www.w3.org/People/karl/
W3C Conformance Manager, QA Activity Lead
   QA Weblog - http://www.w3.org/QA/
      *** Be Strict To Be Cool ***
Received on Thursday, 5 October 2006 05:45:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:10:20 GMT