W3C home > Mailing lists > Public > www-ws-desc@w3.org > February 2007

Multipart-1G multipart/form-data assertion

From: Jonathan Marsh <jonathan@wso2.com>
Date: Mon, 19 Feb 2007 13:54:24 -0800
To: <www-ws-desc@w3.org>
Message-ID: <03e901c75470$88a6eda0$3501a8c0@DELLICIOUS>
The message assertions for testcase Multipart-1G looks for XML in the
payload of the message, which is clearly incorrect.  I've updated it to
simply check that there is some text there instead.

 

Before:

 

*	count(/l:log/l:message[@number="1"]/l:content/*)=1 

 

*	/l:log/l:message[@number="1"]/l:content/*[local-name()='EchoName'
and namespace-uri()='http://example.org/message-test/xsd']

 

After

 

*	count(/l:log/l:message[@number="1"]/l:content/text())>0

 

Checking the form of the body beyond that is possible but hard, and since we
only have one log for this testcase manual inspection seems adequate for
now.

 

Jonathan Marsh -  <http://www.wso2.com> http://www.wso2.com -
<http://auburnmarshes.spaces.live.com> http://auburnmarshes.spaces.live.com

 

 
Received on Monday, 19 February 2007 21:54:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:58:46 GMT