juergen 2003/09/04 03:49:30
Modified: testsuite/testsuite/junit/xmltestcases/ACL/functional/Principle/Write
ACLdenyWriteACLInheritance2Proppatch2LockColColColFile.xml
ACLdenyWriteACLInheritancePutProppatchLockCol.xml
ACLdenyWriteInheritance2Proppatch2LockColColColFile.xml
ACLdenyWriteInheritance2Proppatch2LockColFile.xml
ACLdenyWriteInheritance3Proppatch3LockColColFile.xml
ACLdenyWriteInheritanceProppatchLockFile.xml
ACLdenyWriteInheritancePutProppatchLockCol.xml
ACLdenyWriteInheritancePutProppatchLockFile.xml
ACLdenyWritePutProppatchLock.xml
Log:
responses chaned (Josef)
Revision Changes Path
1.9 +256 -241
jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/Principle/Write/ACLdenyWriteACLInheritance2Proppatch2LockColColColFile.xml
Index: ACLdenyWriteACLInheritance2Proppatch2LockColColColFile.xml
===================================================================
RCS file:
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/Principle/Write/ACLdenyWriteACLInheritance2Proppatch2LockColColColFile.xml,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ACLdenyWriteACLInheritance2Proppatch2LockColColColFile.xml 26 Aug 2003
08:17:34 -0000 1.8
+++ ACLdenyWriteACLInheritance2Proppatch2LockColColColFile.xml 4 Sep 2003
10:49:29 -0000 1.9
@@ -1,255 +1,270 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE test SYSTEM "../../../../../Tprocessor.dtd">
<test>
- <specification>
- <abstract>Test to check if deny write-acl privilege with inheritance
works.</abstract>
- <description>1) ACL command which grants write access to the user %user% 2) ACL
command which denies write-acl access to the user %user% on the collection /test/test
4) PropPatch command attempted on child collection (/test/test/test) 5) Lock command
attempted on child collection (/test/test/test) 6) ACL command attempted on child
collection (/test/test/test) 7) PropPatch command attempted on child file
(/test/test/test/test.xml) 8) Lock command attempted on child file
(/test/test/test/test.xml) 9) ACL command attempted on child file
(/test/test/test/test.xml)</description>
- <expectedResult>ACL command should return 403 Forbidden. All other commands
should complete succesfully</expectedResult>
- </specification>
- <step>
- <user varUsage="user">%user%2</user>
- <password varUsage="user">%user%2</password>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">ACL
/%globalVariableServerName%/%globalVariableCollection%/ HTTP/1.1</command>
- <header>Content-Type: text/xml; charset=utf-8</header>
- <header>User-Agent: Jakarta HTTP Client/1.0</header>
- <body
varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?> <D:acl xmlns:D="DAV:"> <D:ace> <D:principal>
<D:href>%globalVariableUserPath%</D:href> </D:principal> <D:grant>
<D:privilege><D:write /></D:privilege> </D:grant> </D:ace> </D:acl>]]></body>
- </request>
- <response>
- <command>HTTP/1.0 200 OK</command>
- </response>
- </step>
- <step>
- <user varUsage="user">%user%2</user>
- <password varUsage="user">%user%2</password>
- <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>
- <user varUsage="user">%user%2</user>
- <password varUsage="user">%user%2</password>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">MKCOL
/%globalVariableServerName%/%globalVariableCollection%/test/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>
- <user varUsage="user">%user%2</user>
- <password varUsage="user">%user%2</password>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">MKCOL
/%globalVariableServerName%/%globalVariableCollection%/test/test/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>
- <user varUsage="user">%user%2</user>
- <password varUsage="user">%user%2</password>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/test/test/test/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 fileReference="../../../../contentDirectory/validXML.xm1" />
- </request>
- <response>
- <command>HTTP/1.0 201 Created</command>
- </response>
- </step>
- <step>
- <user varUsage="user">%user%2</user>
- <password varUsage="user">%user%2</password>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">ACL
/%globalVariableServerName%/%globalVariableCollection%/test/test HTTP/1.1</command>
- <header>Content-Type: text/xml; charset=utf-8</header>
- <header>User-Agent: Jakarta HTTP Client/1.0</header>
- <body
varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?> <D:acl xmlns:D="DAV:"> <D:ace> <D:principal>
<D:href>%globalVariableUserPath%</D:href> </D:principal> <D:deny>
<D:privilege><D:write-acl /></D:privilege> </D:deny> </D:ace> </D:acl>]]></body>
- </request>
- <response>
- <command>HTTP/1.0 200 OK</command>
- </response>
- </step>
- <step>
- <request>
- <command
varUsage="globalVariableCollection,globalVariableServerName">PROPPATCH
/%globalVariableServerName%/%globalVariableCollection%/test/test/test
HTTP/1.1</command>
- <header>Content-Type: text/xml</header>
- <header>User-Agent: Microsoft Data Access Internet Publishing Provider
DAV</header>
- <header>Accept-Language: en-us</header>
- <header>Translate: f</header>
- <header>Pragma: no-cache</header>
- <header>Connection: close</header>
- <body><?xml version="1.0" ?> <D:propertyupdate xmlns:D="DAV:"
xmlns:Z="http://www.com/"> <D:remove> <D:prop> <D:resourcetype/>
</D:prop> </D:remove> </D:propertyupdate></body>
- </request>
- <response>
+ <specification>
+ <abstract>Test to check if deny write-acl privilege with inheritance
works.</abstract>
+ <description>1) ACL command which grants write access to the user
%user% 2) ACL command which denies write-acl access to the user %user% on the
collection /test/test 4) PropPatch command attempted on child collection
(/test/test/test) 5) Lock command attempted on child collection (/test/test/test) 6)
ACL command attempted on child collection (/test/test/test) 7) PropPatch command
attempted on child file (/test/test/test/test.xml) 8) Lock command attempted on child
file (/test/test/test/test.xml) 9) ACL command attempted on child file
(/test/test/test/test.xml)</description>
+ <expectedResult>ACL command should return 403 Forbidden. All other
commands should complete succesfully</expectedResult>
+ </specification>
+ <step>
+ <user varUsage="user">%user%2</user>
+ <password varUsage="user">%user%2</password>
+ <request>
+ <command
varUsage="globalVariableCollection,globalVariableServerName">ACL
/%globalVariableServerName%/%globalVariableCollection%/ HTTP/1.1</command>
+ <header>Content-Type: text/xml; charset=utf-8</header>
+ <header>User-Agent: Jakarta HTTP Client/1.0</header>
+ <body
varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?> <D:acl xmlns:D="DAV:"> <D:ace> <D:principal>
<D:href>%globalVariableUserPath%</D:href> </D:principal> <D:grant>
<D:privilege><D:write /></D:privilege> </D:grant> </D:ace> </D:acl>]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.0 200 OK</command>
+ </response>
+ </step>
+ <step>
+ <user varUsage="user">%user%2</user>
+ <password varUsage="user">%user%2</password>
+ <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>
+ <user varUsage="user">%user%2</user>
+ <password varUsage="user">%user%2</password>
+ <request>
+ <command
varUsage="globalVariableCollection,globalVariableServerName">MKCOL
/%globalVariableServerName%/%globalVariableCollection%/test/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>
+ <user varUsage="user">%user%2</user>
+ <password varUsage="user">%user%2</password>
+ <request>
+ <command
varUsage="globalVariableCollection,globalVariableServerName">MKCOL
/%globalVariableServerName%/%globalVariableCollection%/test/test/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>
+ <user varUsage="user">%user%2</user>
+ <password varUsage="user">%user%2</password>
+ <request>
+ <command
varUsage="globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/test/test/test/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
fileReference="../../../../contentDirectory/validXML.xm1"/>
+ </request>
+ <response>
+ <command>HTTP/1.0 201 Created</command>
+ </response>
+ </step>
+ <step>
+ <user varUsage="user">%user%2</user>
+ <password varUsage="user">%user%2</password>
+ <request>
+ <command
varUsage="globalVariableCollection,globalVariableServerName">ACL
/%globalVariableServerName%/%globalVariableCollection%/test/test HTTP/1.1</command>
+ <header>Content-Type: text/xml; charset=utf-8</header>
+ <header>User-Agent: Jakarta HTTP Client/1.0</header>
+ <body
varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?> <D:acl xmlns:D="DAV:"> <D:ace> <D:principal>
<D:href>%globalVariableUserPath%</D:href> </D:principal> <D:deny>
<D:privilege><D:write-acl /></D:privilege> </D:deny> </D:ace> </D:acl>]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.0 200 OK</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command
varUsage="globalVariableCollection,globalVariableServerName">PROPPATCH
/%globalVariableServerName%/%globalVariableCollection%/test/test/test
HTTP/1.1</command>
+ <header>Content-Type: text/xml</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing
Provider DAV</header>
+ <header>Accept-Language: en-us</header>
+ <header>Translate: f</header>
+ <header>Pragma: no-cache</header>
+ <header>Connection: close</header>
+ <body><?xml version="1.0" ?> <D:propertyupdate
xmlns:D="DAV:" xmlns:Z="http://www.com/"> <D:remove> <D:prop>
<D:resourcetype/> </D:prop> </D:remove>
</D:propertyupdate></body>
+ </request>
+ <response>
<command>HTTP/1.0 207 Multi-Status</command>
<header>Date: Tue, 13 Feb 2001 12:45:26 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>
- <body
varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?><D:multistatus
xmlns:D="DAV:"><D:response><D:href>/%globalVariableServerName%/%globalVariableCollection%/test/test/test</D:href><D:propstat><D:prop><D:resourcetype
/></D:prop><D:status>HTTP/1.1 409
Conflict</D:status><D:responsedescription><D:error><D:cannot-modify-protected-property
/></D:error></D:responsedescription></D:propstat></D:response></D:multistatus>]]></body>
+ <body
varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?><D:multistatus
xmlns:D="DAV:"><D:response><D:href>/%globalVariableServerName%/%globalVariableCollection%/test/test/test</D:href><D:propstat><D:prop><D:resourcetype
/></D:prop><D:status>HTTP/1.1 409 Conflict</D:status>
+<D:responsedescription>Property <resourcetype xmlns="DAV:" /> is
protected</D:responsedescription>
+
+</D:propstat></D:response></D:multistatus>]]></body>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command
varUsage="userNumber,globalVariableCollection,globalVariableServerName">LOCK
/%globalVariableServerName%/%globalVariableCollection%/test/test/test
HTTP/1.1</command>
+ <header>Connection: Keep-Alive, TE</header>
+ <header>TE: trailers, deflate, gzip, compress</header>
+ <header>User-Agent: UCI DAV Explorer/0.70
RPT-HTTPClient/0.3-2E</header>
+ <header>Timeout: Second-604800</header>
+ <header>Accept-Encoding: deflate, gzip, x-gzip, compress,
x-compress</header>
+ <header>Content-type: text/xml</header>
+ <body><![CDATA[<?xml version="1.0"?><A:lockinfo
xmlns:A="DAV:"><A:locktype><A:write/></A:locktype><A:lockscope><A:exclusive/></A:lockscope><A:owner><A:href></A:href></A:owner></A:lockinfo>]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.0 200 OK</command>
+ <body
varUsage="globalVariableUserPath,globalVariableServerName,user,host"><![CDATA[<?xml
version="1.0" encoding="utf-8"?> <D:prop xmlns:D="DAV:"> <D:lockdiscovery>
<D:activelock> <D:locktype> <D:write /> </D:locktype> <D:lockscope> <D:exclusive />
</D:lockscope> <D:depth>infinity</D:depth> <D:owner
varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host"><A:href
xmlns:A="DAV:" /></D:owner> <D:timeout>*</D:timeout> <D:locktoken> <D:href>*</D:href>
</D:locktoken> <d:principal-URL
xmlns:d="DAV:"><d:href>%globalVariableUserPath%</d:href></d:principal-URL></D:activelock>
</D:lockdiscovery> </D:prop>]]></body>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command
varUsage="userNumber,globalVariableCollection,globalVariableServerName">UNLOCK
/%globalVariableServerName%/%globalVariableCollection%/test/test/test
HTTP/1.1</command>
+ <header>Connection: Keep-Alive, TE</header>
+ <header>TE: trailers, deflate, gzip, compress</header>
+ <header>User-Agent: UCI DAV Explorer/0.70
RPT-HTTPClient/0.3-2E</header>
+ <header varUsage="automaticVariable1">Lock-Token:
%automaticVariable1%</header>
+ <header>Accept-Encoding: deflate, gzip, x-gzip, compress,
x-compress</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 204 No Content</command>
+ <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">ACL
/%globalVariableServerName%/%globalVariableCollection%/test/test/test
HTTP/1.1</command>
+ <header>Content-Type: text/xml; charset=utf-8</header>
+ <header>User-Agent: Jakarta HTTP Client/1.0</header>
+ <body
varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?> <D:acl xmlns:D="DAV:"> <D:ace> <D:principal>
<D:href>%globalVariableUserPath%</D:href> </D:principal> <D:grant>
<D:privilege><D:write-acl /></D:privilege> </D:grant> </D:ace> </D:acl>]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.0 403 forbidden</command>
</response>
- </step>
- <step>
- <request>
- <command
varUsage="userNumber,globalVariableCollection,globalVariableServerName">LOCK
/%globalVariableServerName%/%globalVariableCollection%/test/test/test
HTTP/1.1</command>
- <header>Connection: Keep-Alive, TE</header>
- <header>TE: trailers, deflate, gzip, compress</header>
- <header>User-Agent: UCI DAV Explorer/0.70 RPT-HTTPClient/0.3-2E</header>
- <header>Timeout: Second-604800</header>
- <header>Accept-Encoding: deflate, gzip, x-gzip, compress, x-compress</header>
- <header>Content-type: text/xml</header>
- <body><![CDATA[<?xml version="1.0"?><A:lockinfo
xmlns:A="DAV:"><A:locktype><A:write/></A:locktype><A:lockscope><A:exclusive/></A:lockscope><A:owner><A:href></A:href></A:owner></A:lockinfo>]]></body>
- </request>
- <response>
- <command>HTTP/1.0 200 OK</command>
- <body
varUsage="globalVariableUserPath,globalVariableServerName,user,host"><![CDATA[<?xml
version="1.0" encoding="utf-8"?> <D:prop xmlns:D="DAV:"> <D:lockdiscovery>
<D:activelock> <D:locktype> <D:write /> </D:locktype> <D:lockscope> <D:exclusive />
</D:lockscope> <D:depth>infinity</D:depth> <D:owner
varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host"><A:href
xmlns:A="DAV:" /></D:owner> <D:timeout>*</D:timeout> <D:locktoken> <D:href>*</D:href>
</D:locktoken> <d:principal-URL
xmlns:d="DAV:"><d:href>%globalVariableUserPath%</d:href></d:principal-URL></D:activelock>
</D:lockdiscovery> </D:prop>]]></body>
- </response>
- </step>
- <step>
- <request>
- <command
varUsage="userNumber,globalVariableCollection,globalVariableServerName">UNLOCK
/%globalVariableServerName%/%globalVariableCollection%/test/test/test
HTTP/1.1</command>
- <header>Connection: Keep-Alive, TE</header>
- <header>TE: trailers, deflate, gzip, compress</header>
- <header>User-Agent: UCI DAV Explorer/0.70 RPT-HTTPClient/0.3-2E</header>
- <header varUsage="automaticVariable1">Lock-Token:
%automaticVariable1%</header>
- <header>Accept-Encoding: deflate, gzip, x-gzip, compress, x-compress</header>
- </request>
- <response>
- <command>HTTP/1.0 204 No Content</command>
- <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">ACL
/%globalVariableServerName%/%globalVariableCollection%/test/test/test
HTTP/1.1</command>
- <header>Content-Type: text/xml; charset=utf-8</header>
- <header>User-Agent: Jakarta HTTP Client/1.0</header>
- <body
varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?> <D:acl xmlns:D="DAV:"> <D:ace> <D:principal>
<D:href>%globalVariableUserPath%</D:href> </D:principal> <D:grant>
<D:privilege><D:write-acl /></D:privilege> </D:grant> </D:ace> </D:acl>]]></body>
- </request>
- <response>
- <command>HTTP/1.0 403 forbidden</command>
- </response>
- </step>
- <step>
- <request>
- <command
varUsage="globalVariableCollection,globalVariableServerName">PROPPATCH
/%globalVariableServerName%/%globalVariableCollection%/test/test/test/test.xml
HTTP/1.1</command>
- <header>Content-Type: text/xml</header>
- <header>User-Agent: Microsoft Data Access Internet Publishing Provider
DAV</header>
- <header>Accept-Language: en-us</header>
- <header>Translate: f</header>
- <header>Pragma: no-cache</header>
- <header>Connection: close</header>
- <body><?xml version="1.0" ?> <D:propertyupdate xmlns:D="DAV:"
xmlns:Z="http://www.com/"> <D:remove> <D:prop>
<D:getcontenttype/> </D:prop> </D:remove>
</D:propertyupdate></body>
- </request>
- <response>
+ </step>
+ <step>
+ <request>
+ <command
varUsage="globalVariableCollection,globalVariableServerName">PROPPATCH
/%globalVariableServerName%/%globalVariableCollection%/test/test/test/test.xml
HTTP/1.1</command>
+ <header>Content-Type: text/xml</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing
Provider DAV</header>
+ <header>Accept-Language: en-us</header>
+ <header>Translate: f</header>
+ <header>Pragma: no-cache</header>
+ <header>Connection: close</header>
+ <body><?xml version="1.0" ?> <D:propertyupdate
xmlns:D="DAV:" xmlns:Z="http://www.com/"> <D:remove> <D:prop>
<D:getcontenttype/> </D:prop> </D:remove>
</D:propertyupdate></body>
+ </request>
+ <response>
<command>HTTP/1.0 207 Multi-Status</command>
<header>Date: Tue, 13 Feb 2001 12:45:26 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>
- <body
varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?><D:multistatus
xmlns:D="DAV:"><D:response><D:href>/%globalVariableServerName%/%globalVariableCollection%/test/test/test/test.xml</D:href><D:propstat><D:prop><D:getcontenttype
/></D:prop><D:status>HTTP/1.1 409
Conflict</D:status><D:responsedescription><D:error><D:cannot-modify-protected-property
/></D:error></D:responsedescription></D:propstat></D:response></D:multistatus>]]></body>
+ <body
varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[
+ <?xml version="1.0" encoding="UTF-8"?>
+ <D:multistatus xmlns:D="DAV:">
+ <D:response>
+
<D:href>/%globalVariableServerName%/%globalVariableCollection%/test/test/test/test.xml</D:href>
+ <D:propstat>
+ <D:prop>
+ <D:getcontenttype />
+ </D:prop>
+ <D:status>HTTP/1.1 200 OK</D:status>
+ </D:propstat>
+ </D:response>
+ </D:multistatus>
+ ]]></body>
</response>
- </step>
- <step>
- <request>
- <command
varUsage="userNumber,globalVariableCollection,globalVariableServerName">LOCK
/%globalVariableServerName%/%globalVariableCollection%/test/test/test/test.xml
HTTP/1.1</command>
- <header>Connection: Keep-Alive, TE</header>
- <header>TE: trailers, deflate, gzip, compress</header>
- <header>User-Agent: UCI DAV Explorer/0.70 RPT-HTTPClient/0.3-2E</header>
- <header>Timeout: Second-604800</header>
- <header>Accept-Encoding: deflate, gzip, x-gzip, compress, x-compress</header>
- <header>Content-type: text/xml</header>
- <body><![CDATA[<?xml version="1.0"?><A:lockinfo
xmlns:A="DAV:"><A:locktype><A:write/></A:locktype><A:lockscope><A:exclusive/></A:lockscope><A:owner><A:href></A:href></A:owner></A:lockinfo>]]></body>
- </request>
- <response>
- <command>HTTP/1.0 200 OK</command>
- <body
varUsage="globalVariableUserPath,globalVariableServerName,user,host"><![CDATA[<?xml
version="1.0" encoding="utf-8"?> <D:prop xmlns:D="DAV:"> <D:lockdiscovery>
<D:activelock> <D:locktype> <D:write /> </D:locktype> <D:lockscope> <D:exclusive />
</D:lockscope> <D:depth>infinity</D:depth> <D:owner
varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host"><A:href
xmlns:A="DAV:" /></D:owner> <D:timeout>*</D:timeout> <D:locktoken> <D:href>*</D:href>
</D:locktoken> <d:principal-URL
xmlns:d="DAV:"><d:href>%globalVariableUserPath%</d:href></d:principal-URL></D:activelock>
</D:lockdiscovery> </D:prop>]]></body>
- </response>
- </step>
- <step>
- <request>
- <command
varUsage="userNumber,globalVariableCollection,globalVariableServerName">UNLOCK
/%globalVariableServerName%/%globalVariableCollection%/test/test/test/test.xml
HTTP/1.1</command>
- <header>Connection: Keep-Alive, TE</header>
- <header>TE: trailers, deflate, gzip, compress</header>
- <header>User-Agent: UCI DAV Explorer/0.70 RPT-HTTPClient/0.3-2E</header>
- <header varUsage="automaticVariable2">Lock-Token:
%automaticVariable2%</header>
- <header>Accept-Encoding: deflate, gzip, x-gzip, compress, x-compress</header>
- </request>
- <response>
- <command>HTTP/1.0 204 No Content</command>
- <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">ACL
/%globalVariableServerName%/%globalVariableCollection%/test/test/test/test.xml
HTTP/1.1</command>
- <header>Content-Type: text/xml; charset=utf-8</header>
- <header>User-Agent: Jakarta HTTP Client/1.0</header>
- <body
varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?> <D:acl xmlns:D="DAV:"> <D:ace> <D:principal>
<D:href>%globalVariableUserPath%</D:href> </D:principal> <D:grant>
<D:privilege><D:write-acl /></D:privilege> </D:grant> </D:ace> </D:acl>]]></body>
- </request>
- <response>
- <command>HTTP/1.0 403 forbidden</command>
- </response>
- </step>
- <cleanup>
- <step>
- <user varUsage="user">%user%2</user>
- <password varUsage="user">%user%2</password>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">ACL
/%globalVariableServerName%/%globalVariableCollection%/ HTTP/1.1</command>
- <header>Content-Type: text/xml; charset=utf-8</header>
- <header>User-Agent: Jakarta HTTP Client/1.0</header>
- <body
varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?> <D:acl xmlns:D="DAV:"> </D:acl>]]></body>
- </request>
- <response>
- <command>HTTP/1.0 200 OK</command>
- </response>
- </step>
- <step>
- <user varUsage="user">%user%2</user>
- <password varUsage="user">%user%2</password>
- <request>
- <command
varUsage="repeatCounter,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: Tue, 13 Feb 2001 17:14:41 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>
+ </step>
+ <step>
+ <request>
+ <command
varUsage="userNumber,globalVariableCollection,globalVariableServerName">LOCK
/%globalVariableServerName%/%globalVariableCollection%/test/test/test/test.xml
HTTP/1.1</command>
+ <header>Connection: Keep-Alive, TE</header>
+ <header>TE: trailers, deflate, gzip, compress</header>
+ <header>User-Agent: UCI DAV Explorer/0.70
RPT-HTTPClient/0.3-2E</header>
+ <header>Timeout: Second-604800</header>
+ <header>Accept-Encoding: deflate, gzip, x-gzip, compress,
x-compress</header>
+ <header>Content-type: text/xml</header>
+ <body><![CDATA[<?xml version="1.0"?><A:lockinfo
xmlns:A="DAV:"><A:locktype><A:write/></A:locktype><A:lockscope><A:exclusive/></A:lockscope><A:owner><A:href></A:href></A:owner></A:lockinfo>]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.0 200 OK</command>
+ <body
varUsage="globalVariableUserPath,globalVariableServerName,user,host"><![CDATA[<?xml
version="1.0" encoding="utf-8"?> <D:prop xmlns:D="DAV:"> <D:lockdiscovery>
<D:activelock> <D:locktype> <D:write /> </D:locktype> <D:lockscope> <D:exclusive />
</D:lockscope> <D:depth>infinity</D:depth> <D:owner
varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host"><A:href
xmlns:A="DAV:" /></D:owner> <D:timeout>*</D:timeout> <D:locktoken> <D:href>*</D:href>
</D:locktoken> <d:principal-URL
xmlns:d="DAV:"><d:href>%globalVariableUserPath%</d:href></d:principal-URL></D:activelock>
</D:lockdiscovery> </D:prop>]]></body>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command
varUsage="userNumber,globalVariableCollection,globalVariableServerName">UNLOCK
/%globalVariableServerName%/%globalVariableCollection%/test/test/test/test.xml
HTTP/1.1</command>
+ <header>Connection: Keep-Alive, TE</header>
+ <header>TE: trailers, deflate, gzip, compress</header>
+ <header>User-Agent: UCI DAV Explorer/0.70
RPT-HTTPClient/0.3-2E</header>
+ <header varUsage="automaticVariable2">Lock-Token:
%automaticVariable2%</header>
+ <header>Accept-Encoding: deflate, gzip, x-gzip, compress,
x-compress</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 204 No Content</command>
+ <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">ACL
/%globalVariableServerName%/%globalVariableCollection%/test/test/test/test.xml
HTTP/1.1</command>
+ <header>Content-Type: text/xml; charset=utf-8</header>
+ <header>User-Agent: Jakarta HTTP Client/1.0</header>
+ <body
varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?> <D:acl xmlns:D="DAV:"> <D:ace> <D:principal>
<D:href>%globalVariableUserPath%</D:href> </D:principal> <D:grant>
<D:privilege><D:write-acl /></D:privilege> </D:grant> </D:ace> </D:acl>]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.0 403 forbidden</command>
+ </response>
+ </step>
+ <cleanup>
+ <step>
+ <user varUsage="user">%user%2</user>
+ <password varUsage="user">%user%2</password>
+ <request>
+ <command
varUsage="globalVariableCollection,globalVariableServerName">ACL
/%globalVariableServerName%/%globalVariableCollection%/ HTTP/1.1</command>
+ <header>Content-Type: text/xml; charset=utf-8</header>
+ <header>User-Agent: Jakarta HTTP Client/1.0</header>
+ <body
varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?> <D:acl xmlns:D="DAV:"> </D:acl>]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.0 200 OK</command>
+ </response>
+ </step>
+ <step>
+ <user varUsage="user">%user%2</user>
+ <password varUsage="user">%user%2</password>
+ <request>
+ <command
varUsage="repeatCounter,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: Tue, 13 Feb 2001 17:14:41
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.10 +1 -7
jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/Principle/Write/ACLdenyWriteACLInheritancePutProppatchLockCol.xml
Index: ACLdenyWriteACLInheritancePutProppatchLockCol.xml
===================================================================
RCS file:
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/Principle/Write/ACLdenyWriteACLInheritancePutProppatchLockCol.xml,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ACLdenyWriteACLInheritancePutProppatchLockCol.xml 29 Aug 2003 09:16:33 -0000
1.9
+++ ACLdenyWriteACLInheritancePutProppatchLockCol.xml 4 Sep 2003 10:49:29 -0000
1.10
@@ -105,16 +105,11 @@
<D:resourcetype/>
</D:prop>
<D:status>HTTP/1.1 409
Conflict</D:status>
- <D:responsedescription>
- <D:error>
-
<D:cannot-modify-protected-property/>
- </D:error>
- </D:responsedescription>
+
<D:responsedescription>Property <resourcetype xmlns="DAV:" /> is
protected</D:responsedescription>
</D:propstat>
</D:response>
</D:multistatus>]]></body>
</response>
-
</step>
<step>
<request>
@@ -214,4 +209,3 @@
</step>
</cleanup>
</test>
-
1.8 +5 -8
jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/Principle/Write/ACLdenyWriteInheritance2Proppatch2LockColColColFile.xml
Index: ACLdenyWriteInheritance2Proppatch2LockColColColFile.xml
===================================================================
RCS file:
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/Principle/Write/ACLdenyWriteInheritance2Proppatch2LockColColColFile.xml,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ACLdenyWriteInheritance2Proppatch2LockColColColFile.xml 26 Aug 2003 11:51:21
-0000 1.7
+++ ACLdenyWriteInheritance2Proppatch2LockColColColFile.xml 4 Sep 2003 10:49:29
-0000 1.8
@@ -150,9 +150,10 @@
<header>Date: Tue, 13 Feb 2001 12:45:26 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>
- <body
varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?><D:multistatus
xmlns:D="DAV:"><D:response><D:href>/%globalVariableServerName%/%globalVariableCollection%/test/test/test</D:href><D:propstat><D:prop><D:resourcetype
/></D:prop><D:status>HTTP/1.1 409
Conflict</D:status><D:responsedescription><D:error><D:cannot-modify-protected-property
/></D:error></D:responsedescription></D:propstat></D:response></D:multistatus>]]></body>
+ <body
varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?><D:multistatus
xmlns:D="DAV:"><D:response><D:href>/%globalVariableServerName%/%globalVariableCollection%/test/test/test</D:href><D:propstat><D:prop><D:resourcetype
/></D:prop><D:status>HTTP/1.1 409 Conflict</D:status>
+<D:responsedescription>Property <resourcetype xmlns="DAV:" /> is
protected</D:responsedescription>
+</D:propstat></D:response></D:multistatus>]]></body>
</response>
-
</step>
<step>
<request>
@@ -203,13 +204,9 @@
</D:propertyupdate></body>
</request>
<response>
- <command>HTTP/1.0 207 Multi-Status</command>
- <header>Date: Tue, 13 Feb 2001 12:45:26 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>
- <body
varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?><D:multistatus
xmlns:D="DAV:"><D:response><D:href>/%globalVariableServerName%/%globalVariableCollection%/test/test/test/test.xml</D:href><D:propstat><D:prop><D:getcontenttype
/></D:prop><D:status>HTTP/1.1 409
Conflict</D:status><D:responsedescription><D:error><D:cannot-modify-protected-property
/></D:error></D:responsedescription></D:propstat></D:response></D:multistatus>]]></body>
+ <command>HTTP/1.0 403 Forbidden</command>
+ <body/>
</response>
-
</step>
<step>
<request>
1.10 +3 -2
jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/Principle/Write/ACLdenyWriteInheritance2Proppatch2LockColFile.xml
Index: ACLdenyWriteInheritance2Proppatch2LockColFile.xml
===================================================================
RCS file:
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/Principle/Write/ACLdenyWriteInheritance2Proppatch2LockColFile.xml,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ACLdenyWriteInheritance2Proppatch2LockColFile.xml 22 Aug 2003 13:26:46 -0000
1.9
+++ ACLdenyWriteInheritance2Proppatch2LockColFile.xml 4 Sep 2003 10:49:29 -0000
1.10
@@ -90,9 +90,10 @@
<header>Date: Tue, 13 Feb 2001 12:45:26 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>
- <body
varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?><D:multistatus
xmlns:D="DAV:"><D:response><D:href>/%globalVariableServerName%/%globalVariableCollection%/test</D:href><D:propstat><D:prop><D:resourcetype
/></D:prop><D:status>HTTP/1.1 409
Conflict</D:status><D:responsedescription><D:error><D:cannot-modify-protected-property
/></D:error></D:responsedescription></D:propstat></D:response></D:multistatus>]]></body>
+ <body
varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?><D:multistatus
xmlns:D="DAV:"><D:response><D:href>/%globalVariableServerName%/%globalVariableCollection%/test</D:href><D:propstat><D:prop><D:resourcetype
/></D:prop><D:status>HTTP/1.1 409 Conflict</D:status>
+<D:responsedescription>Property <resourcetype xmlns="DAV:" /> is
protected</D:responsedescription>
+</D:propstat></D:response></D:multistatus>]]></body>
</response>
-
</step>
<step>
<request>
1.11 +6 -3
jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/Principle/Write/ACLdenyWriteInheritance3Proppatch3LockColColFile.xml
Index: ACLdenyWriteInheritance3Proppatch3LockColColFile.xml
===================================================================
RCS file:
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/Principle/Write/ACLdenyWriteInheritance3Proppatch3LockColColFile.xml,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- ACLdenyWriteInheritance3Proppatch3LockColColFile.xml 22 Aug 2003 13:32:33
-0000 1.10
+++ ACLdenyWriteInheritance3Proppatch3LockColColFile.xml 4 Sep 2003 10:49:29
-0000 1.11
@@ -109,9 +109,10 @@
<header>Date: Tue, 13 Feb 2001 12:45:26 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>
- <body
varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?><D:multistatus
xmlns:D="DAV:"><D:response><D:href>/%globalVariableServerName%/%globalVariableCollection%/test</D:href><D:propstat><D:prop><D:resourcetype
/></D:prop><D:status>HTTP/1.1 409
Conflict</D:status><D:responsedescription><D:error><D:cannot-modify-protected-property
/></D:error></D:responsedescription></D:propstat></D:response></D:multistatus>]]></body>
+ <body
varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?><D:multistatus
xmlns:D="DAV:"><D:response><D:href>/%globalVariableServerName%/%globalVariableCollection%/test</D:href><D:propstat><D:prop><D:resourcetype
/></D:prop><D:status>HTTP/1.1 409 Conflict</D:status>
+<D:responsedescription>Property <resourcetype xmlns="DAV:" /> is
protected</D:responsedescription>
+</D:propstat></D:response></D:multistatus>]]></body>
</response>
-
</step>
<step>
<request>
@@ -166,7 +167,9 @@
<header>Date: Tue, 13 Feb 2001 12:45:26 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>
- <body
varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?><D:multistatus
xmlns:D="DAV:"><D:response><D:href>/%globalVariableServerName%/%globalVariableCollection%/test/test</D:href><D:propstat><D:prop><D:resourcetype
/></D:prop><D:status>HTTP/1.1 409
Conflict</D:status><D:responsedescription><D:error><D:cannot-modify-protected-property
/></D:error></D:responsedescription></D:propstat></D:response></D:multistatus>]]></body>
+ <body
varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?><D:multistatus
xmlns:D="DAV:"><D:response><D:href>/%globalVariableServerName%/%globalVariableCollection%/test/test</D:href><D:propstat><D:prop><D:resourcetype
/></D:prop><D:status>HTTP/1.1 409 Conflict</D:status>
+<D:responsedescription>Property <resourcetype xmlns="DAV:" /> is
protected</D:responsedescription>
+</D:propstat></D:response></D:multistatus>]]></body>
</response>
</step>
<step>
1.7 +3 -7
jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/Principle/Write/ACLdenyWriteInheritanceProppatchLockFile.xml
Index: ACLdenyWriteInheritanceProppatchLockFile.xml
===================================================================
RCS file:
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/Principle/Write/ACLdenyWriteInheritanceProppatchLockFile.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- ACLdenyWriteInheritanceProppatchLockFile.xml 22 Aug 2003 13:46:11 -0000
1.6
+++ ACLdenyWriteInheritanceProppatchLockFile.xml 4 Sep 2003 10:49:29 -0000
1.7
@@ -89,14 +89,10 @@
</D:remove>
</D:propertyupdate></body>
</request>
- <response>
- <command>HTTP/1.0 207 Multi-Status</command>
- <header>Date: Tue, 13 Feb 2001 12:45:26 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>
- <body
varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?><D:multistatus
xmlns:D="DAV:"><D:response><D:href>%globalVariableServerName%/%globalVariableCollection%/test.xml</D:href><D:propstat><D:prop><D:getcontenttype
/></D:prop><D:status>HTTP/1.1 409
Conflict</D:status><D:responsedescription><D:error><D:cannot-modify-protected-property
/></D:error></D:responsedescription></D:propstat></D:response></D:multistatus>]]></body>
+ <response>
+ <command>HTTP/1.0 403 Forbidden</command>
+ <body/>
</response>
-
</step>
<step>
<request>
1.7 +3 -2
jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/Principle/Write/ACLdenyWriteInheritancePutProppatchLockCol.xml
Index: ACLdenyWriteInheritancePutProppatchLockCol.xml
===================================================================
RCS file:
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/Principle/Write/ACLdenyWriteInheritancePutProppatchLockCol.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- ACLdenyWriteInheritancePutProppatchLockCol.xml 26 Aug 2003 08:17:13 -0000
1.6
+++ ACLdenyWriteInheritancePutProppatchLockCol.xml 4 Sep 2003 10:49:29 -0000
1.7
@@ -87,9 +87,10 @@
<header>Date: Tue, 13 Feb 2001 12:45:26 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>
- <body
varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?><D:multistatus
xmlns:D="DAV:"><D:response><D:href>/%globalVariableServerName%/%globalVariableCollection%/test</D:href><D:propstat><D:prop><D:resourcetype
/></D:prop><D:status>HTTP/1.1 409
Conflict</D:status><D:responsedescription><D:error><D:cannot-modify-protected-property
/></D:error></D:responsedescription></D:propstat></D:response></D:multistatus>]]></body>
+ <body
varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?><D:multistatus
xmlns:D="DAV:"><D:response><D:href>/%globalVariableServerName%/%globalVariableCollection%/test</D:href><D:propstat><D:prop><D:resourcetype
/></D:prop><D:status>HTTP/1.1 409 Conflict</D:status>
+<D:responsedescription>Property <resourcetype xmlns="DAV:" /> is
protected</D:responsedescription>
+</D:propstat></D:response></D:multistatus>]]></body>
</response>
-
</step>
<step>
<request>
1.8 +2 -7
jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/Principle/Write/ACLdenyWriteInheritancePutProppatchLockFile.xml
Index: ACLdenyWriteInheritancePutProppatchLockFile.xml
===================================================================
RCS file:
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/Principle/Write/ACLdenyWriteInheritancePutProppatchLockFile.xml,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ACLdenyWriteInheritancePutProppatchLockFile.xml 22 Aug 2003 13:23:04 -0000
1.7
+++ ACLdenyWriteInheritancePutProppatchLockFile.xml 4 Sep 2003 10:49:29 -0000
1.8
@@ -67,14 +67,9 @@
</D:propertyupdate></body>
</request>
<response>
- <command>HTTP/1.0 207 Multi-Status</command>
- <header>Date: Tue, 13 Feb 2001 12:45:26 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>
- <body
varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?><D:multistatus
xmlns:D="DAV:"><D:response><D:href>/%globalVariableServerName%/%globalVariableCollection%/test.xml</D:href><D:propstat><D:prop><D:getcontenttype
/></D:prop><D:status>HTTP/1.1 409
Conflict</D:status><D:responsedescription><D:error><D:cannot-modify-protected-property
/></D:error></D:responsedescription></D:propstat></D:response></D:multistatus>]]></body>
+ <command>HTTP/1.0 403 Forbidden</command>
+ <body/>
</response>
-
-
</step>
<step>
<request>
1.7 +3 -2
jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/Principle/Write/ACLdenyWritePutProppatchLock.xml
Index: ACLdenyWritePutProppatchLock.xml
===================================================================
RCS file:
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/Principle/Write/ACLdenyWritePutProppatchLock.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- ACLdenyWritePutProppatchLock.xml 26 Aug 2003 08:16:55 -0000 1.6
+++ ACLdenyWritePutProppatchLock.xml 4 Sep 2003 10:49:29 -0000 1.7
@@ -70,9 +70,10 @@
<header>Date: Tue, 13 Feb 2001 12:45:26 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>
- <body
varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?><D:multistatus
xmlns:D="DAV:"><D:response><D:href>/%globalVariableServerName%/%globalVariableCollection%</D:href><D:propstat><D:prop><D:resourcetype
/></D:prop><D:status>HTTP/1.1 409
Conflict</D:status><D:responsedescription><D:error><D:cannot-modify-protected-property
/></D:error></D:responsedescription></D:propstat></D:response></D:multistatus>]]></body>
+ <body
varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?><D:multistatus
xmlns:D="DAV:"><D:response><D:href>/%globalVariableServerName%/%globalVariableCollection%</D:href><D:propstat><D:prop><D:resourcetype
/></D:prop><D:status>HTTP/1.1 409 Conflict</D:status>
+<D:responsedescription>Property <resourcetype xmlns="DAV:" /> is
protected</D:responsedescription>
+</D:propstat></D:response></D:multistatus>]]></body>
</response>
-
</step>
<step>
<request>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]