RE: XF11 TestSuite Submission Headers

The work to which Leigh pointed has in fact been incorporated into the 
editor's draft of XForms 1.1.

The home page has the link to the editor's draft and the diff marked 
version.

Cheers,
John M. Boyer, Ph.D.
STSM, Interactive Documents and Web 2.0 Applications
Chair, W3C Forms Working Group
Workplace, Portal and Collaboration Software
IBM Victoria Software Lab
E-Mail: boyerj@ca.ibm.com 

Blog: http://www.ibm.com/developerworks/blogs/page/JohnBoyer
Blog RSS feed: 
http://www.ibm.com/developerworks/blogs/rss/JohnBoyer?flavor=rssdw





From:
"Klotz, Leigh" <Leigh.Klotz@xerox.com>
To:
"Lars Windauer" <windauer@gmail.com>, <www-forms@w3.org>
Cc:
<Nick_Van_den_Bleeken@inventivegroup.com>
Date:
02/06/2009 11:19 PM
Subject:
RE: XF11 TestSuite Submission Headers




Lars,
Please see this work.  John Boyer is scheduled to incorporate it into
XForms 1.1.
http://lists.w3.org/Archives/Public/public-forms/2008Oct/0038.html

Leigh. 

-----Original Message-----
From: www-forms-request@w3.org [mailto:www-forms-request@w3.org] On
Behalf Of Lars Windauer
Sent: Friday, February 06, 2009 6:46 AM
To: www-forms@w3.org
Cc: Nick_Van_den_Bleeken@inventivegroup.com
Subject: XF11 TestSuite Submission Headers


Hi list,

I got a question regarding the XForms Submission Header Element. The
expected result of test 11.8.b shall be three headers named 'myHeader'
and I guess one contains the value 'one' the next 'two'.. While test
11.8.c expects only one Header 'myHeader' containing the value
'myValue1,myValue2, myValue1,myValue2,myValue3,myValue4,myValue4'. Are
both tests valid (hope not!)? Do I have to create for each header value
a single header or do I concat all values for the same header name
together?

Some light in the dark would be great ;o) Thanks in advance

Lars


Samples taken from the XForms 1.1 Conformance Test Suite:

11.8.b
                 <xforms:instance>
                                 <data>
                                                 <value>one</value>
                                                 <value>two</value>
                                                 <value>three</value>
                                 </data>
                 </xforms:instance>
                 <xforms:submission id="sub1" method="post"
action="http://xformstest.org/cgi-bin/echo.sh">
                   <xforms:header nodeset="/data/value">
                     <xforms:name>myHeader</xforms:name>
                     <xforms:value value="."></xforms:value>
                   </xforms:header>
                 </xforms:submission

11.8.c
                 <xforms:instance>
                                 <data>
                                                 <value>one</value>
                                                 <value>two</value>
                                 </data>
                 </xforms:instance>
                 <xforms:submission id="sub1" method="post"
action="http://xformstest.org/cgi-bin/echo.sh">
                   <xforms:header nodeset="/data/value">
                     <xforms:name>myHeader</xforms:name>
                     <xforms:value>myValue1</xforms:value>
                     <xforms:value>myValue2</xforms:value>
                   </xforms:header>
                   <xforms:header>
                     <xforms:name>myHeader</xforms:name>
                     <xforms:value>myValue3</xforms:value>
                   </xforms:header>
                   <xforms:header nodeset="/data/value">
                     <xforms:name>myHeader</xforms:name>
                     <xforms:value>myValue4</xforms:value>
                   </xforms:header>
                 </xforms:submission>

--
Twitter: http://twitter.com/windauer
Skype:   windauer
Jabber: windauer@gmail.com

Received on Monday, 9 February 2009 07:28:11 UTC