juergen 2002/06/19 00:37:55
Added: testsuite/testsuite/junit/xmltestcases/DASL/functional/where/gt
displayName.xml contentLength.xml
Log:
Testcases to check the 'where' element, using the 'gt' operator, within DASL Basic
Search.
Revision Changes Path
1.1
jakarta-slide/testsuite/testsuite/junit/xmltestcases/DASL/functional/where/gt/displayName.xml
Index: displayName.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../../../Tprocessor.dtd">
<test>
<specification>
<abstract>Properties are searched for in a resource where the
displayname is greater than the specified string.</abstract>
<pre-Requisite>A collection has been created and defined in
tprocessor.cmd.</pre-Requisite>
<description>
1) MKCol to create a folder to put all resources into.
2) A total of 25 files are put to the server. These run from a.xml to
e.xml. Each initial letter than appends from a thru e, stopping at e.xml.
EG.
a.xml
aa.xml
ab.xml
ac.xml
ad.xml
ae.xml
ba.xml
.
.
de.xml
e.xml
3) A Search is performed. The displayname must be greater than the
specified string 'bc'. The case sensitivity is not addressed.
4) The resources are deleted.
</description>
<expectedResult>A 207 Multi-Status response code should be received by
the Search.
Inside the body, a 200 OK response code should be returned.
The requested properties for the resources with a displayname greater
than 'bc' should be returned.
</expectedResult>
</specification>
<step>
<request>
<command
varUsage="globalVariableCollection,globalVariableServerName"> MKCOL
/%globalVariableServerName%/%globalVariableCollection%/test HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing
Provider DAV</header>
<header>Connection: Keep-Alive</header>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Wed, 21 Feb 2001 12:55:57 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1;
Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems
Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage
="userNumber,globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/test/a.xml HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing
Provider DAV</header>
<header>Connection: Keep-Alive</header>
<body
fileReference="../../../../contentDirectory/validXML.xm1">
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Mon, 12 Mar 2001 17:21:35 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1;
Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems
Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage
="userNumber,globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/test/aa.xml HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing
Provider DAV</header>
<header>Connection: Keep-Alive</header>
<body
fileReference="../../../../contentDirectory/validXML.xm1">
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Mon, 12 Mar 2001 17:21:35 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1;
Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems
Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage
="userNumber,globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/test/ab.xml HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing
Provider DAV</header>
<header>Connection: Keep-Alive</header>
<body
fileReference="../../../../contentDirectory/validXML.xm1">
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Mon, 12 Mar 2001 17:21:35 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1;
Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems
Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage
="userNumber,globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/test/ac.xml HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing
Provider DAV</header>
<header>Connection: Keep-Alive</header>
<body
fileReference="../../../../contentDirectory/validXML.xm1">
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Mon, 12 Mar 2001 17:21:35 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1;
Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems
Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage
="userNumber,globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/test/ad.xml HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing
Provider DAV</header>
<header>Connection: Keep-Alive</header>
<body
fileReference="../../../../contentDirectory/validXML.xm1">
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Mon, 12 Mar 2001 17:21:35 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1;
Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems
Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage
="userNumber,globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/test/ae.xml HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing
Provider DAV</header>
<header>Connection: Keep-Alive</header>
<body
fileReference="../../../../contentDirectory/validXML.xm1">
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Mon, 12 Mar 2001 17:21:35 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1;
Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems
Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage
="userNumber,globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/test/b.xml HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing
Provider DAV</header>
<header>Connection: Keep-Alive</header>
<body
fileReference="../../../../contentDirectory/validXML.xm1">
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Mon, 12 Mar 2001 17:21:35 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1;
Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems
Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage
="userNumber,globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/test/ba.xml HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing
Provider DAV</header>
<header>Connection: Keep-Alive</header>
<body
fileReference="../../../../contentDirectory/validXML.xm1">
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Mon, 12 Mar 2001 17:21:35 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1;
Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems
Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage
="userNumber,globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/test/bb.xml HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing
Provider DAV</header>
<header>Connection: Keep-Alive</header>
<body
fileReference="../../../../contentDirectory/validXML.xm1">
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Mon, 12 Mar 2001 17:21:35 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1;
Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems
Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage
="userNumber,globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/test/bc.xml HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing
Provider DAV</header>
<header>Connection: Keep-Alive</header>
<body
fileReference="../../../../contentDirectory/validXML.xm1">
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Mon, 12 Mar 2001 17:21:35 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1;
Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems
Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage
="userNumber,globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/test/bd.xml HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing
Provider DAV</header>
<header>Connection: Keep-Alive</header>
<body
fileReference="../../../../contentDirectory/validXML.xm1">
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Mon, 12 Mar 2001 17:21:35 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1;
Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems
Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage
="userNumber,globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/test/be.xml HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing
Provider DAV</header>
<header>Connection: Keep-Alive</header>
<body
fileReference="../../../../contentDirectory/validXML.xm1">
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Mon, 12 Mar 2001 17:21:35 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1;
Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems
Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage
="userNumber,globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/test/c.xml HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing
Provider DAV</header>
<header>Connection: Keep-Alive</header>
<body
fileReference="../../../../contentDirectory/validXML.xm1">
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Mon, 12 Mar 2001 17:21:35 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1;
Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems
Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage
="userNumber,globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/test/ca.xml HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing
Provider DAV</header>
<header>Connection: Keep-Alive</header>
<body
fileReference="../../../../contentDirectory/validXML.xm1">
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Mon, 12 Mar 2001 17:21:35 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1;
Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems
Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage
="userNumber,globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/test/cb.xml HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing
Provider DAV</header>
<header>Connection: Keep-Alive</header>
<body
fileReference="../../../../contentDirectory/validXML.xm1">
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Mon, 12 Mar 2001 17:21:35 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1;
Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems
Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage
="userNumber,globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/test/cc.xml HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing
Provider DAV</header>
<header>Connection: Keep-Alive</header>
<body
fileReference="../../../../contentDirectory/validXML.xm1">
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Mon, 12 Mar 2001 17:21:35 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1;
Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems
Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage
="userNumber,globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/test/cd.xml HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing
Provider DAV</header>
<header>Connection: Keep-Alive</header>
<body
fileReference="../../../../contentDirectory/validXML.xm1">
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Mon, 12 Mar 2001 17:21:35 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1;
Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems
Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage
="userNumber,globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/test/ce.xml HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing
Provider DAV</header>
<header>Connection: Keep-Alive</header>
<body
fileReference="../../../../contentDirectory/validXML.xm1">
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Mon, 12 Mar 2001 17:21:35 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1;
Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems
Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage
="userNumber,globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/test/d.xml HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing
Provider DAV</header>
<header>Connection: Keep-Alive</header>
<body
fileReference="../../../../contentDirectory/validXML.xm1">
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Mon, 12 Mar 2001 17:21:35 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1;
Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems
Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage
="userNumber,globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/test/da.xml HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing
Provider DAV</header>
<header>Connection: Keep-Alive</header>
<body
fileReference="../../../../contentDirectory/validXML.xm1">
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Mon, 12 Mar 2001 17:21:35 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1;
Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems
Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage
="userNumber,globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/test/db.xml HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing
Provider DAV</header>
<header>Connection: Keep-Alive</header>
<body
fileReference="../../../../contentDirectory/validXML.xm1">
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Mon, 12 Mar 2001 17:21:35 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1;
Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems
Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage
="userNumber,globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/test/dc.xml HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing
Provider DAV</header>
<header>Connection: Keep-Alive</header>
<body
fileReference="../../../../contentDirectory/validXML.xm1">
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Mon, 12 Mar 2001 17:21:35 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1;
Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems
Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage
="userNumber,globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/test/dd.xml HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing
Provider DAV</header>
<header>Connection: Keep-Alive</header>
<body
fileReference="../../../../contentDirectory/validXML.xm1">
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Mon, 12 Mar 2001 17:21:35 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1;
Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems
Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage
="userNumber,globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/test/de.xml HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing
Provider DAV</header>
<header>Connection: Keep-Alive</header>
<body
fileReference="../../../../contentDirectory/validXML.xm1">
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Mon, 12 Mar 2001 17:21:35 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1;
Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems
Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage
="userNumber,globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/test/e.xml HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing
Provider DAV</header>
<header>Connection: Keep-Alive</header>
<body
fileReference="../../../../contentDirectory/validXML.xm1">
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Mon, 12 Mar 2001 17:21:35 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1;
Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems
Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage ="globalVariableServerName">SEARCH
/%globalVariableServerName% HTTP/1.1</command>
<body
varUsage="globalVariableServerName,globalVariableCollection"><![CDATA[<?xml
version="1.0" encoding="UTF-8"?>
<searchrequest xmlns:D="DAV:">
<D:basicsearch>
<D:select>
<D:prop>
<D:displayname/>
<D:getcontenttype/>
<D:test/>
</D:prop>
</D:select>
<D:from>
<D:scope>
<D:href>/%globalVariableServerName%/%globalVariableCollection%/test</D:href>
<D:depth>1</D:depth>
</D:scope>
</D:from>
<D:where>
<D:gt>
<D:prop>
<D:displayname/>
</D:prop>
<D:literal>bc.xml</D:literal>
</D:gt>
</D:where>
<D:orderby>
<D:order>
<D:prop>
<D:displayname/>
</D:prop>
</D:order>
</D:orderby>
</D:basicsearch>
</searchrequest>
]]>
</body>
</request>
<response>
<command>HTTP/1.0 207 Multi-Status</command>
<body
varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml
version="1.0" encoding="UTF-8"?>
<D:multistatus xmlns:D="DAV:">
<D:response>
<D:href>/%globalVariableServerName%/%globalVariableCollection%/test/bd.xml</D:href>
<D:propstat>
<D:prop>
<D:displayname>bd.xml</D:displayname>
<D:getcontenttype>text/xml</D:getcontenttype>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
<D:propstat>
<D:prop>
<D:test />
</D:prop>
<D:status>HTTP/1.1 404 Not Found</D:status>
</D:propstat>
</D:response>
<D:response>
<D:href>/%globalVariableServerName%/%globalVariableCollection%/test/be.xml</D:href>
<D:propstat>
<D:prop>
<D:displayname>be.xml</D:displayname>
<D:getcontenttype>text/xml</D:getcontenttype>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
<D:propstat>
<D:prop>
<D:test />
</D:prop>
<D:status>HTTP/1.1 404 Not Found</D:status>
</D:propstat>
</D:response>
<D:response>
<D:href>/%globalVariableServerName%/%globalVariableCollection%/test/c.xml</D:href>
<D:propstat>
<D:prop>
<D:displayname>c.xml</D:displayname>
<D:getcontenttype>text/xml</D:getcontenttype>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
<D:propstat>
<D:prop>
<D:test />
</D:prop>
<D:status>HTTP/1.1 404 Not Found</D:status>
</D:propstat>
</D:response>
<D:response>
<D:href>/%globalVariableServerName%/%globalVariableCollection%/test/ca.xml</D:href>
<D:propstat>
<D:prop>
<D:displayname>ca.xml</D:displayname>
<D:getcontenttype>text/xml</D:getcontenttype>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
<D:propstat>
<D:prop>
<D:test />
</D:prop>
<D:status>HTTP/1.1 404 Not Found</D:status>
</D:propstat>
</D:response>
<D:response>
<D:href>/%globalVariableServerName%/%globalVariableCollection%/test/cb.xml</D:href>
<D:propstat>
<D:prop>
<D:displayname>cb.xml</D:displayname>
<D:getcontenttype>text/xml</D:getcontenttype>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
<D:propstat>
<D:prop>
<D:test />
</D:prop>
<D:status>HTTP/1.1 404 Not Found</D:status>
</D:propstat>
</D:response>
<D:response>
<D:href>/%globalVariableServerName%/%globalVariableCollection%/test/cc.xml</D:href>
<D:propstat>
<D:prop>
<D:displayname>cc.xml</D:displayname>
<D:getcontenttype>text/xml</D:getcontenttype>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
<D:propstat>
<D:prop>
<D:test />
</D:prop>
<D:status>HTTP/1.1 404 Not Found</D:status>
</D:propstat>
</D:response>
<D:response>
<D:href>/%globalVariableServerName%/%globalVariableCollection%/test/cd.xml</D:href>
<D:propstat>
<D:prop>
<D:displayname>cd.xml</D:displayname>
<D:getcontenttype>text/xml</D:getcontenttype>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
<D:propstat>
<D:prop>
<D:test />
</D:prop>
<D:status>HTTP/1.1 404 Not Found</D:status>
</D:propstat>
</D:response>
<D:response>
<D:href>/%globalVariableServerName%/%globalVariableCollection%/test/ce.xml</D:href>
<D:propstat>
<D:prop>
<D:displayname>ce.xml</D:displayname>
<D:getcontenttype>text/xml</D:getcontenttype>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
<D:propstat>
<D:prop>
<D:test />
</D:prop>
<D:status>HTTP/1.1 404 Not Found</D:status>
</D:propstat>
</D:response>
<D:response>
<D:href>/%globalVariableServerName%/%globalVariableCollection%/test/d.xml</D:href>
<D:propstat>
<D:prop>
<D:displayname>d.xml</D:displayname>
<D:getcontenttype>text/xml</D:getcontenttype>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
<D:propstat>
<D:prop>
<D:test />
</D:prop>
<D:status>HTTP/1.1 404 Not Found</D:status>
</D:propstat>
</D:response>
<D:response>
<D:href>/%globalVariableServerName%/%globalVariableCollection%/test/da.xml</D:href>
<D:propstat>
<D:prop>
<D:displayname>da.xml</D:displayname>
<D:getcontenttype>text/xml</D:getcontenttype>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
<D:propstat>
<D:prop>
<D:test />
</D:prop>
<D:status>HTTP/1.1 404 Not Found</D:status>
</D:propstat>
</D:response>
<D:response>
<D:href>/%globalVariableServerName%/%globalVariableCollection%/test/db.xml</D:href>
<D:propstat>
<D:prop>
<D:displayname>db.xml</D:displayname>
<D:getcontenttype>text/xml</D:getcontenttype>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
<D:propstat>
<D:prop>
<D:test />
</D:prop>
<D:status>HTTP/1.1 404 Not Found</D:status>
</D:propstat>
</D:response>
<D:response>
<D:href>/%globalVariableServerName%/%globalVariableCollection%/test/dc.xml</D:href>
<D:propstat>
<D:prop>
<D:displayname>dc.xml</D:displayname>
<D:getcontenttype>text/xml</D:getcontenttype>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
<D:propstat>
<D:prop>
<D:test />
</D:prop>
<D:status>HTTP/1.1 404 Not Found</D:status>
</D:propstat>
</D:response>
<D:response>
<D:href>/%globalVariableServerName%/%globalVariableCollection%/test/dd.xml</D:href>
<D:propstat>
<D:prop>
<D:displayname>dd.xml</D:displayname>
<D:getcontenttype>text/xml</D:getcontenttype>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
<D:propstat>
<D:prop>
<D:test />
</D:prop>
<D:status>HTTP/1.1 404 Not Found</D:status>
</D:propstat>
</D:response>
<D:response>
<D:href>/%globalVariableServerName%/%globalVariableCollection%/test/de.xml</D:href>
<D:propstat>
<D:prop>
<D:displayname>de.xml</D:displayname>
<D:getcontenttype>text/xml</D:getcontenttype>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
<D:propstat>
<D:prop>
<D:test />
</D:prop>
<D:status>HTTP/1.1 404 Not Found</D:status>
</D:propstat>
</D:response>
<D:response>
<D:href>/%globalVariableServerName%/%globalVariableCollection%/test/e.xml</D:href>
<D:propstat>
<D:prop>
<D:displayname>e.xml</D:displayname>
<D:getcontenttype>text/xml</D:getcontenttype>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
<D:propstat>
<D:prop>
<D:test />
</D:prop>
<D:status>HTTP/1.1 404 Not Found</D:status>
</D:propstat>
</D:response>
<D:response>
<D:href>/%globalVariableServerName%/%globalVariableCollection%/test</D:href>
<D:propstat>
<D:prop>
<D:displayname>test</D:displayname>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
<D:propstat>
<D:prop>
<D:getcontenttype />
<D:test />
</D:prop>
<D:status>HTTP/1.1 404 Not Found</D:status>
</D:propstat>
</D:response>
</D:multistatus>
]]>
</body>
</response>
</step>
<cleanup>
<step>
<request>
<command
varUsage="globalVariableCollection,globalVariableServerName"> DELETE
/%globalVariableServerName%/%globalVariableCollection%/test HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Destroy: NoUndelete</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet
Publishing Provider DAV</header>
<header>Connection: Keep-Alive</header>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
<header>Date: Wed, 14 Mar 2001 14:47:37
GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4
(JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems
Inc.)</header>
</response>
</step>
</cleanup>
</test>
1.1
jakarta-slide/testsuite/testsuite/junit/xmltestcases/DASL/functional/where/gt/contentLength.xml
Index: contentLength.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../../../Tprocessor.dtd">
<test>
<specification>
<abstract> A Search is performed for specified properties of resources
with a content length greater than the defined value.</abstract>
<pre-Requisite>A collection has been created and defined in
tprocessor.cmd.</pre-Requisite>
<description>
1) Put a resource to be searched. This file is smaller than the
content length specified in the Search.
2) Put a second resource to be searched. This second file is larger
than the content length specified in the Search.
3) PropFind to establish the content length of the first resource.
This will be used within the Search as the value that a resources
content length must be greater than.
4) PropFind to establish the content length of the second resource.
This will be used within the expected response of the Search as the
expected value of the second resource's content length.
5) Search for specified properties within resources where the content
length is greater than the defined value.
The defined value is equal to the content length of the first resource.
6) Delete the resources.
</description>
<expectedResult>A 207 Multi-Status response code should be received as
a result of the Search.
A 200 OK response code should be returned in the body of the response.
The properties for the second resource should be discovered and
returned. The first file should be ignored with no properties
returned.</expectedResult>
</specification>
<step>
<request>
<command varUsage
="userNumber,globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing
Provider DAV</header>
<header>Connection: Keep-Alive</header>
<body><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<ValidXML>
<ValidXML2>This is a test Valid XML document</ValidXML2>
<ValidXML3>This is a test Valid XML document</ValidXML3>
<ValidXML4>This is a test Valid XML document</ValidXML4>
<ValidXML5>This is a test Valid XML document</ValidXML5>
<ValidXML6>This is a test Valid XML document</ValidXML6>
<ValidXML7>This is a test Valid XML document</ValidXML7>
<ValidXML8>This is a test Valid XML document</ValidXML8>
<ValidXML9>This is a test Valid XML document</ValidXML9>
<ValidXML10>This is a test Valid XML document</ValidXML10>
<ValidXML11>This is a test Valid XML document</ValidXML11>
<ValidXML12>This is a test Valid XML document</ValidXML12>
<ValidXML13>This is a test Valid XML document</ValidXML13>
<ValidXML14>This is a test Valid XML document</ValidXML14>
<ValidXML15>This is a test Valid XML document</ValidXML15>
<ValidXML16>This is a test Valid XML document</ValidXML16>
<ValidXML17>This is a test Valid XML document</ValidXML17>
<ValidXML18>This is a test Valid XML document</ValidXML18>
<ValidXML19>This is a test Valid XML document</ValidXML19>
<ValidXML20>This is a test Valid XML document</ValidXML20>
<ValidXML21>This is a test Valid XML document</ValidXML21>
<ValidXML22>This is a test Valid XML document</ValidXML22>
<ValidXML23>This is a test Valid XML document</ValidXML23>
</ValidXML>]]>
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Mon, 12 Mar 2001 17:21:35 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1;
Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems
Inc.)</header>
</response>
</step>
<!-- Extra character 't' added to validXML2 content to create a file one byte larger
than the first -->
<step>
<request>
<command varUsage
="userNumber,globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/test2.xml HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing
Provider DAV</header>
<header>Connection: Keep-Alive</header>
<body><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<ValidXML>
<ValidXML2>This is a test Valid XML documentt</ValidXML2>
<ValidXML3>This is a test Valid XML document</ValidXML3>
<ValidXML4>This is a test Valid XML document</ValidXML4>
<ValidXML5>This is a test Valid XML document</ValidXML5>
<ValidXML6>This is a test Valid XML document</ValidXML6>
<ValidXML7>This is a test Valid XML document</ValidXML7>
<ValidXML8>This is a test Valid XML document</ValidXML8>
<ValidXML9>This is a test Valid XML document</ValidXML9>
<ValidXML10>This is a test Valid XML document</ValidXML10>
<ValidXML11>This is a test Valid XML document</ValidXML11>
<ValidXML12>This is a test Valid XML document</ValidXML12>
<ValidXML13>This is a test Valid XML document</ValidXML13>
<ValidXML14>This is a test Valid XML document</ValidXML14>
<ValidXML15>This is a test Valid XML document</ValidXML15>
<ValidXML16>This is a test Valid XML document</ValidXML16>
<ValidXML17>This is a test Valid XML document</ValidXML17>
<ValidXML18>This is a test Valid XML document</ValidXML18>
<ValidXML19>This is a test Valid XML document</ValidXML19>
<ValidXML20>This is a test Valid XML document</ValidXML20>
<ValidXML21>This is a test Valid XML document</ValidXML21>
<ValidXML22>This is a test Valid XML document</ValidXML22>
<ValidXML23>This is a test Valid XML document</ValidXML23>
</ValidXML>]]>
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Mon, 12 Mar 2001 17:21:35 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1;
Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems
Inc.)</header>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableCollection,globalVariableServerName">PROPFIND
/%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Content-Type: text/xml</header>
<header>Translate: f</header>
<header>Depth: 1</header>
<header>User-Agent: Microsoft Data Access Internet Publishing
Provider DAV</header>
<header>Connection: Keep-Alive</header>
<body><![CDATA[<?xml version="1.0"?>
<D:propfind xmlns:D="DAV:">
<D:prop>
<D:getcontentlength/>
</D:prop>
</D:propfind>
]]></body>
</request>
<response>
<command>HTTP/1.0 207 Multi-Status</command>
<header>Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1; Servlet
2.2; Java 1.3.0_02; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
<body varUsage="globalVariableCollection,globalVariableServerName"
varDefinition="testresourcecontentlength"
varPath="multistatus/response/propstat/prop/getcontentlength"><![CDATA[
<D:multistatus xmlns:D="DAV:">
<D:response>
<D:href>/%globalVariableServerName%/%globalVariableCollection%/test.xml</D:href>
<D:propstat>
<D:prop>
<D:getcontentlength>*</D:getcontentlength>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>
]]>
</body>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableCollection,globalVariableServerName">PROPFIND
/%globalVariableServerName%/%globalVariableCollection%/test2.xml HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Content-Type: text/xml</header>
<header>Translate: f</header>
<header>Depth: 1</header>
<header>User-Agent: Microsoft Data Access Internet Publishing
Provider DAV</header>
<header>Connection: Keep-Alive</header>
<body><![CDATA[<?xml version="1.0"?>
<D:propfind xmlns:D="DAV:">
<D:prop>
<D:getcontentlength/>
</D:prop>
</D:propfind>
]]></body>
</request>
<response>
<command>HTTP/1.0 207 Multi-Status</command>
<header>Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1; Servlet
2.2; Java 1.3.0_02; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
<body varUsage="globalVariableCollection,globalVariableServerName"
varDefinition="test2resourcecontentlength"
varPath="multistatus/response/propstat/prop/getcontentlength"><![CDATA[
<D:multistatus xmlns:D="DAV:">
<D:response>
<D:href>/%globalVariableServerName%/%globalVariableCollection%/test2.xml</D:href>
<D:propstat>
<D:prop>
<D:getcontentlength>*</D:getcontentlength>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>
]]>
</body>
</response>
</step>
<step>
<request>
<command varUsage ="globalVariableServerName">SEARCH
/%globalVariableServerName% HTTP/1.1</command>
<body
varUsage="globalVariableCollection,globalVariableServerName,testresourcecontentlength"><![CDATA[<?xml
version="1.0" encoding="UTF-8"?>
<searchrequest xmlns:D="DAV:">
<D:basicsearch>
<D:select>
<D:prop>
<D:displayname/>
<D:getcontentlength/>
</D:prop>
</D:select>
<D:from>
<D:scope>
<D:href>/%globalVariableServerName%/%globalVariableCollection%</D:href>
<D:depth>1</D:depth>
</D:scope>
</D:from>
<D:where>
<D:gt>
<D:prop>
<D:getcontentlength/>
</D:prop>
<D:literal>%testresourcecontentlength%</D:literal>
</D:gt>
</D:where>
</D:basicsearch>
</searchrequest>
]]>
</body>
</request>
<response>
<command>HTTP/1.0 207 Multi-Status</command>
<body
varUsage="globalVariableCollection,globalVariableServerName,test2resourcecontentlength"><![CDATA[<?xml
version="1.0" encoding="UTF-8"?>
<D:multistatus xmlns:D="DAV:">
<D:response>
<D:href>/%globalVariableServerName%/%globalVariableCollection%/test2.xml</D:href>
<propstat
xmlns="DAV:">
<prop>
<displayname>test2.xml</displayname>
<getcontentlength>%test2resourcecontentlength%</getcontentlength>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</D:response>
</D:multistatus>
]]>
</body>
</response>
</step>
<cleanup>
<step>
<request>
<command
varUsage="globalVariableCollection,globalVariableServerName"> DELETE
/%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Destroy: NoUndelete</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet
Publishing Provider DAV</header>
<header>Connection: Keep-Alive</header>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
<header>Date: Wed, 14 Mar 2001 14:47:37
GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4
(JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems
Inc.)</header>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableCollection,globalVariableServerName"> DELETE
/%globalVariableServerName%/%globalVariableCollection%/test2.xml HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Destroy: NoUndelete</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet
Publishing Provider DAV</header>
<header>Connection: Keep-Alive</header>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
<header>Date: Wed, 14 Mar 2001 14:47:37
GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4
(JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems
Inc.)</header>
</response>
</step>
</cleanup>
</test>
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
