- From: Klotz, Leigh <Leigh.Klotz@xerox.com>
- Date: Fri, 6 Feb 2009 23:15:36 -0800
- To: "Lars Windauer" <windauer@gmail.com>, <www-forms@w3.org>
- Cc: <Nick_Van_den_Bleeken@inventivegroup.com>
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 Saturday, 7 February 2009 07:16:27 UTC