W3C home > Mailing lists > Public > public-forms-testsuite@w3.org > March 2003

Bug in test case c3-006a.xml

From: Michael N. Lipp <mnl@mnl.de>
Date: Thu, 27 Mar 2003 23:18:39 +0100
Message-ID: <3E8378BF.9090806@mnl.de>
To: public-forms-testsuite@w3.org


I think there is a bug in test case c3-006a.xml.

Consider the bind elements in the model:

<html xmlns="http://www.w3.org/2002/06/xhtml2"


     <xforms:model id="m_001">
     	<xforms:instance id="i_001" xmlns="">
     	<xforms:bind nodeset="a" id="i-a" />
     	<xforms:bind nodeset="b" id="i-b" />
     	<xforms:bind nodeset="r/c" id="i-c" />

Section 7.3 states in "rule" 8 that "Any namespace declarations in scope 
for the attribute that defines the expression are applied to the 

"In scope" for the "nodeset" attributes of the xforms:bind elements is 
(among others) the default namespace 
xmlns="http://www.w3.org/2002/06/xhtml2". Thus the xpath expression in 
the nodeset attribute results in an empty nodeset, because elements <r> 
and descendants are in the global namespace.

This is not what is intended here (or have I misunderstood the spec?)

  - Michael Lipp
Received on Thursday, 27 March 2003 17:16:45 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:38:39 UTC