W3C home > Mailing lists > Public > www-forms@w3.org > June 2003

Re: Usability of XForms 1.0 Public Test Suite

From: Michael N. Lipp <mnl@mnl.de>
Date: Wed, 25 Jun 2003 21:16:06 +0200
Message-ID: <3EF9F4F6.5000804@mnl.de>
To: Micah Dubinko <MDubinko@cardiff.com>
CC: www-forms@w3.org

Micah Dubinko wrote:
> Michael,
> Can you point out a few specific examples?
> BTW, one thing to note is that XPath expressions like "/a/b/c" (with a
> leading slash) are always based off the root, and and are unaffected by the
> context node.

Well, look at c3-006a.xml: <xforms:repeat nodeset="r/d"> should display 
a single item, but does not, as the instance has <r> as root (this part 
of the samplehas nothing to do with the bind attribute!). So nodeset 
should be "d" or "/r/d" (likewise <xforms:bind nodeset="r/c" id="i-c" />
should be <xforms:bind nodeset="/r/c" id="i-c" /> or
<xforms:bind nodeset="c" id="i-c" />)

In c3-010c.xml it must be <xforms:output ref="/i"/> (instead of
<xforms:output ref="i"/>)

(That's when I got a bit frustrated, so "quite a lot" may be 
exaggeration, I admit - I haven't tried out all testcases yet.)

  - Michael

> Has anybody tried to use the Test Suite to verify his/her 
> implementation? Trying this, I currently find quite a lot of the test 
> cases to have a fundemental bug because they assume that "/" is the 
> context for the outermost binding (while it really is "/*").
> Can anybody confirm this?
>   - Michael
Received on Wednesday, 25 June 2003 15:13:10 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:36:08 UTC