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

The assertion made in XF11 test case 1.11.p is wrong.

From: Nick Van den Bleeken <Nick_Van_den_Bleeken@inventivegroup.com>
Date: Sun, 1 Mar 2009 15:39:27 +0100
To: Forms WG <public-forms@w3.org>
Message-ID: <98F519CDC2FA6146AE00069E9A1D91FD5D315A6EB4@erganix.dc.intranet>
The assertion made in XF11 test case 1.11.p is wrong. It states that: "When you activate the Submit With Standalone submit control you must see a standalone declaration in the form data. It may appear as the value " standalone="yes" " or " standalone="true" ". When you activate the Submit Without Standalone submit control you must not see a standalone declaration in the form data."

This is wrong, because both submissions have a standalone attribute, the first with a value of true the second one with a value of false.

The spec states for the standalone attribute: "Optional attribute specifying whether to include a standalone declaration in the serialized XML. If the omit-xml-declaration attribute has the value true, then this attribute is ignored. Otherwise, if this attribute is omitted, then the XML declaration does not include a standalone document declaration, and if this attribute is specified, then the XML declaration includes a standalone document declaration with the same value as this attribute."

So we can fix this test in a couple of ways:

1.       keep the text and remove the standalone attribute from the submission

2.       change the second sentence so it says that you will see standalone with value "no" or "false"

3.       add a third submission so we test the three possibilities

I prefer the 3th solution.

Regards,

Nick Van den Bleeken  -  Research & Development Manager
Inventive Designers
Phone: +32 - 3 - 8210170
Fax: +32 - 3 - 8210171
Email: Nick_Van_den_Bleeken@inventivegroup.com<mailto:Nick_Van_den_Bleeken@inventivegroup.com>


________________________________
Inventive Designers' Email Disclaimer:
http://www.inventivedesigners.com/email-disclaimer

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--
Received on Sunday, 1 March 2009 14:40:42 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 October 2013 22:06:50 UTC