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.




*	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']




*	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


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 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:55:03 UTC