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

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 UTC