juergen     02/01/28 01:47:02

  Added:       testsuite/testsuite/junit/xmltestcases/functional/proppatch/code
                        CreateDefaultUserDefinedReadDefaultUserDefined.xml
                        CreateDefaultUserDefinedReadDefaultDefault.xml
                        CreateDefaultUserDefinedReadDefaultDav.xml
                        CreateDefaultDefaultReadDefaultUserDefined.xml
                        CreateDefaultDefaultReadDefaultDav.xml
                        CreateDefaultDavReadDefaultUserDefined.xml
                        CreateDefaultDavReadDefaultDefault.xml
                        CreateDefaultDavReadDefaultDav.xml
  Log:
  more proppatch tests
  
  Revision  Changes    Path
  1.1                  
jakarta-slide/testsuite/testsuite/junit/xmltestcases/functional/proppatch/code/CreateDefaultUserDefinedReadDefaultUserDefined.xml
  
  Index: CreateDefaultUserDefinedReadDefaultUserDefined.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
   <!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
  <test>
  
  
  
  <specification>
                
                <abstract>Test to check creation of properties within default 
namespace then changing
                the namespace and checking the property does not appear.</abstract>
                
                <pre-Requisite>A collection has been created and defined in 
tprocessor.cmd.</pre-Requisite>
                
                <description>1) Put a document.
                
                2)Proppatch command which creates a property in the Default Dav 
namespace.
                
                3)Propfind on the Default Dav namespace to check property does not 
show up.
                
                4)Delete created file.</description>
                
                <expectedResult>Property not found by propFind as it is looking in the 
wrong namespace.
                </expectedResult>
                
        </specification>
        
        
        <step>
           <request>
              <command 
varUsage="userNumber,globalVariableCollection,globalVariableServerName">PUT 
/%globalVariableServerName%/%globalVariableCollection%/resource1.html 
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/html.html">
              </body>
           </request>
          <response>
             <command>HTTP/1.0 201 Created</command>
                <header>Date: Wed, 14 Mar 2001 15:45:51 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">PROPPATCH 
/%globalVariableServerName%/%globalVariableCollection%/resource1.html 
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>&lt;?xml version="1.0" ?&gt;
           &lt;D:propertyupdate xmlns="www.www.com.com" xmlns:D="DAV:"&gt;
            &lt;D:set&gt;
               &lt;D:prop&gt;
                  &lt;ud1&gt;
                     test
                  &lt;/ud1&gt;
               &lt;/D:prop&gt;
           &lt;/D:set&gt;
        &lt;/D:propertyupdate&gt;
     </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">&lt;?xml version="1.0" encoding="utf-8" 
?&gt;
         &lt;d:multistatus xmlns="www.www.com.com" xmlns:d="DAV:"&gt;
            &lt;d:response&gt;
               &lt;d:href&gt;/%globalVariableCollection%/resource1.html&lt;/d:href&gt;
               &lt;d:propstat&gt;
                  &lt;d:prop&gt;
                     &lt;ud1/&gt;
                  &lt;/d:prop&gt;
                  &lt;d:status&gt;HTTP/1.1 200 OK&lt;/d:status&gt;
               &lt;/d:propstat&gt;
            &lt;/d:response&gt;
         &lt;/d:multistatus&gt;</body>
    </response>
   </step>
        
        
     <step>
           <user varUsage="userNumber">user%userNumber%</user>
             <password varUsage="userNumber">user%userNumber%</password>
              <request>
                 <command 
varUsage="globalVariableCollection,userNumber,globalVariableServerName">PROPFIND 
/%globalVariableServerName%/%globalVariableCollection%/resource1.html 
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="www.www.com.com" xmlns:D="DAV:"><D:prop><ud1/></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,userNumber,globalVariableServerName">
                 &lt;?xml version="1.0" encoding="utf-8" ?&gt;
                  &lt;D:multistatus xmlns="www.www.com.com" 
xmlns:S="http://jakarta.apache.org/slide/"; xmlns:D="DAV:"&gt;
                  &lt;D:response&gt;
                   
&lt;D:href&gt;/%globalVariableServerName%/%globalVariableCollection%/resource1.html&lt;/D:href&gt;
                   &lt;D:propstat&gt;
                    &lt;D:prop&gt;
                     &lt;ud1&gt;test&lt;/ud1&gt;
                    &lt;/D:prop&gt;
                    &lt;D:status&gt;HTTP/1.1 200 OK&lt;/D:status&gt;
                   &lt;/D:propstat&gt;
                  &lt;/D:response&gt;
                 &lt;/D:multistatus&gt;
                 </body>
              </response>
     </step>
        
   <step>
    <request>
     <command varUsage="globalVariableCollection,globalVariableServerName">DELETE 
/%globalVariableServerName%/%globalVariableCollection%/resource1.html 
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, 20 Feb 2001 16:49:49 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>      
        
  </test>
  
  
  1.1                  
jakarta-slide/testsuite/testsuite/junit/xmltestcases/functional/proppatch/code/CreateDefaultUserDefinedReadDefaultDefault.xml
  
  Index: CreateDefaultUserDefinedReadDefaultDefault.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
   <!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
  <test>
  
  
  
  <specification>
                
                <abstract>Test to check creation of properties within default 
namespace then changing
                the namespace and checking the property does not appear.</abstract>
                
                <pre-Requisite>A collection has been created and defined in 
tprocessor.cmd.</pre-Requisite>
                
                <description>1) Put a document.
                
                2)Proppatch command which creates a property in the Default User 
Defined namespace.
                
                3)Propfind on the Default Default Default namespace to check property 
does not show up.
                
                4)Delete created file.</description>
                
                <expectedResult>Property not found by propFind as it is looking in the 
wrong namespace.
                </expectedResult>
                
        </specification>
        
        
        <step>
           <request>
              <command 
varUsage="userNumber,globalVariableCollection,globalVariableServerName">PUT 
/%globalVariableServerName%/%globalVariableCollection%/resource1.html 
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/html.html">
              </body>
           </request>
          <response>
             <command>HTTP/1.0 201 Created</command>
                <header>Date: Wed, 14 Mar 2001 15:45:51 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">PROPPATCH 
/%globalVariableServerName%/%globalVariableCollection%/resource1.html 
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>&lt;?xml version="1.0" ?&gt;
           &lt;D:propertyupdate xmlns="www.www.com.com" xmlns:D="DAV:"&gt;
            &lt;D:set&gt;
               &lt;D:prop&gt;
                  &lt;ud1&gt;
                     test
                  &lt;/ud1&gt;
               &lt;/D:prop&gt;
           &lt;/D:set&gt;
        &lt;/D:propertyupdate&gt;
     </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">&lt;?xml version="1.0" encoding="utf-8" 
?&gt;
         &lt;D:multistatus  xmlns="www.www.com.com" xmlns:D="DAV:"&gt;
            &lt;D:response&gt;
               &lt;D:href&gt;/%globalVariableCollection%/resource1.html&lt;/D:href&gt;
               &lt;D:propstat&gt;
                  &lt;D:prop&gt;
                     &lt;ud1/&gt;
                  &lt;/D:prop&gt;
                  &lt;D:status&gt;HTTP/1.1 200 OK&lt;/D:status&gt;
               &lt;/D:propstat&gt;
            &lt;/D:response&gt;
         &lt;/D:multistatus&gt;</body>
    </response>
   </step>
        
        
     <step>
           <user varUsage="userNumber">user%userNumber%</user>
             <password varUsage="userNumber">user%userNumber%</password>
              <request>
                 <command 
varUsage="globalVariableCollection,userNumber,globalVariableServerName">PROPFIND 
/%globalVariableServerName%/%globalVariableCollection%/resource1.html 
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><ud1/></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,userNumber,globalVariableServerName">
                 &lt;?xml version="1.0" encoding="utf-8" ?&gt;
                 &lt;D:multistatus xmlns:S="http://jakarta.apache.org/slide/";  
xmlns:D="DAV:"&gt;
                  &lt;D:response&gt;
                   
&lt;D:href&gt;/%globalVariableServerName%/%globalVariableCollection%/resource1.html&lt;/D:href&gt;
                   &lt;D:propstat&gt;
                     &lt;D:prop&gt;
                     &lt;/D:prop&gt;
                   &lt;D:status&gt;HTTP/1.1 200 OK&lt;/D:status&gt;
                   &lt;/D:propstat&gt;
                   &lt;D:propstat&gt;
                     &lt;D:prop&gt;
                       &lt;ud1/&gt;
                     &lt;/D:prop&gt;
                     &lt;D:status&gt;HTTP/1.1 404 Not Found&lt;/D:status&gt;
                   &lt;/D:propstat&gt;
                  &lt;/D:response&gt;
                 &lt;/D:multistatus&gt;
                 </body>
              </response>
     </step>
        
   <step>
    <request>
     <command varUsage="globalVariableCollection,globalVariableServerName">DELETE 
/%globalVariableServerName%/%globalVariableCollection%/resource1.html 
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, 20 Feb 2001 16:49:49 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>      
        
  </test>
  
  
  1.1                  
jakarta-slide/testsuite/testsuite/junit/xmltestcases/functional/proppatch/code/CreateDefaultUserDefinedReadDefaultDav.xml
  
  Index: CreateDefaultUserDefinedReadDefaultDav.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
   <!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
  <test>
  
  
  
  <specification>
                
                <abstract>Test to check creation of properties within default 
namespace then changing
                the namespace and checking the property does not appear.</abstract>
                
                <pre-Requisite>A collection has been created and defined in 
tprocessor.cmd.</pre-Requisite>
                
                <description>1) Put a document.
                
                2)Proppatch command which creates a property in the Default Default 
namespace.
                
                3)Propfind on the Default Dav namespace to check property does not 
show up.
                
                4)Delete created file.</description>
                
                <expectedResult>Property not found by propFind as it is looking in the 
wrong namespace.
                </expectedResult>
                
        </specification>
        
        
        <step>
           <request>
              <command 
varUsage="userNumber,globalVariableCollection,globalVariableServerName">PUT 
/%globalVariableServerName%/%globalVariableCollection%/resource1.html 
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/html.html">
              </body>
           </request>
          <response>
             <command>HTTP/1.0 201 Created</command>
                <header>Date: Wed, 14 Mar 2001 15:45:51 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">PROPPATCH 
/%globalVariableServerName%/%globalVariableCollection%/resource1.html 
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>&lt;?xml version="1.0" ?&gt;
           &lt;D:propertyupdate xmlns="www.www.com.com" xmlns:D="DAV:"&gt;
            &lt;D:set&gt;
               &lt;D:prop&gt;
                  &lt;ud1&gt;
                     test
                  &lt;/ud1&gt;
               &lt;/D:prop&gt;
           &lt;/D:set&gt;
        &lt;/D:propertyupdate&gt;
     </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">&lt;?xml version="1.0" encoding="utf-8" 
?&gt;
         &lt;d:multistatus  xmlns="www.www.com.com" xmlns:d="DAV" &gt;
            &lt;d:response&gt;
               &lt;d:href&gt;/%globalVariableCollection%/resource1.html&lt;/d:href&gt;
               &lt;d:propstat&gt;
                  &lt;d:prop&gt;
                     &lt;ud1/&gt;
                  &lt;/d:prop&gt;
                  &lt;d:status&gt;HTTP/1.1 200 OK&lt;/d:status&gt;
               &lt;/d:propstat&gt;
            &lt;/d:response&gt;
         &lt;/d:multistatus&gt;</body>
    </response>
   </step>
        
        
     <step>
           <user varUsage="userNumber">user%userNumber%</user>
             <password varUsage="userNumber">user%userNumber%</password>
              <request>
                 <command 
varUsage="globalVariableCollection,userNumber,globalVariableServerName">PROPFIND 
/%globalVariableServerName%/%globalVariableCollection%/resource1.html 
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" ?><propfind 
xmlns="DAV:"><prop><ud1/></prop></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,userNumber,globalVariableServerName">
                 &lt;?xml version="1.0" encoding="utf-8" ?&gt;
                 &lt;multistatus xmlns="DAV:" 
xmlns:S="http://jakarta.apache.org/slide/"; &gt;
                  &lt;response&gt;
                   
&lt;href&gt;/%globalVariableServerName%/%globalVariableCollection%/resource1.html&lt;/href&gt;
                   &lt;propstat&gt;
                     &lt;prop&gt;
                     &lt;/prop&gt;
                   &lt;status&gt;HTTP/1.1 200 OK&lt;/status&gt;
                   &lt;/propstat&gt;
                   &lt;propstat&gt;
                     &lt;prop&gt;
                       &lt;ud1/&gt;
                     &lt;/prop&gt;
                     &lt;status&gt;HTTP/1.1 404 Not Found&lt;/status&gt;
                   &lt;/propstat&gt;
                  &lt;/response&gt;
                 &lt;/multistatus&gt;
                 </body>
              </response>
     </step>
        
   <step>
    <request>
     <command varUsage="globalVariableCollection,globalVariableServerName">DELETE 
/%globalVariableServerName%/%globalVariableCollection%/resource1.html 
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, 20 Feb 2001 16:49:49 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>      
        
  </test>
  
  
  1.1                  
jakarta-slide/testsuite/testsuite/junit/xmltestcases/functional/proppatch/code/CreateDefaultDefaultReadDefaultUserDefined.xml
  
  Index: CreateDefaultDefaultReadDefaultUserDefined.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
   <!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
  <test>
  
  
  
  <specification>
                
                <abstract>Test to check creation of properties within default 
namespace then changing
                the namespace and checking the property does not appear.</abstract>
                
                <pre-Requisite>A collection has been created and defined in 
tprocessor.cmd.</pre-Requisite>
                
                <description>1) Put a document.
                
                2)Proppatch command which creates a property in the Default Default 
namespace.
                
                3)Propfind on the Default UserDefined namespace to check property does 
not show up.
                
                4)Delete created file.</description>
                
                <expectedResult>Property not found by propFind as it is looking in the 
wrong namespace.
                </expectedResult>
                
        </specification>
        
        
        <step>
           <request>
              <command 
varUsage="userNumber,globalVariableCollection,globalVariableServerName">PUT 
/%globalVariableServerName%/%globalVariableCollection%/resource1.html 
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/html.html">
              </body>
           </request>
          <response>
             <command>HTTP/1.0 201 Created</command>
                <header>Date: Wed, 14 Mar 2001 15:45:51 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">PROPPATCH 
/%globalVariableServerName%/%globalVariableCollection%/resource1.html 
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>&lt;?xml version="1.0" ?&gt;
           &lt;D:propertyupdate xmlns:D="DAV:"&gt;
            &lt;D:set&gt;
               &lt;D:prop&gt;
                  &lt;ud1&gt;
                     test
                  &lt;/ud1&gt;
               &lt;/D:prop&gt;
           &lt;/D:set&gt;
        &lt;/D:propertyupdate&gt;
     </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">&lt;?xml version="1.0" encoding="utf-8" 
?&gt;
         &lt;d:multistatus xmlns:d="DAV" &gt;
            &lt;d:response&gt;
               &lt;d:href&gt;/%globalVariableCollection%/resource1.html&lt;/d:href&gt;
               &lt;d:propstat&gt;
                  &lt;d:prop&gt;
                     &lt;ud1/&gt;
                  &lt;/d:prop&gt;
                  &lt;d:status&gt;HTTP/1.1 200 OK&lt;/d:status&gt;
               &lt;/d:propstat&gt;
            &lt;/d:response&gt;
         &lt;/d:multistatus&gt;</body>
    </response>
   </step>
        
        
     <step>
           <user varUsage="userNumber">user%userNumber%</user>
             <password varUsage="userNumber">user%userNumber%</password>
              <request>
                 <command 
varUsage="globalVariableCollection,userNumber,globalVariableServerName">PROPFIND 
/%globalVariableServerName%/%globalVariableCollection%/resource1.html 
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="www.www.com.com" xmlns:D="DAV:"><D:prop><ud1/></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,userNumber,globalVariableServerName">
                 &lt;?xml version="1.0" encoding="utf-8" ?&gt;
                 &lt;D:multistatus xmlns="www.www.com.com" 
xmlns:S="http://jakarta.apache.org/slide/";  xmlns:D="DAV:"&gt;
                  &lt;D:response&gt;
                   
&lt;D:href&gt;/%globalVariableServerName%/%globalVariableCollection%/resource1.html&lt;/D:href&gt;
                   &lt;D:propstat&gt;
                     &lt;D:prop&gt;
                     &lt;/D:prop&gt;
                   &lt;D:status&gt;HTTP/1.1 200 OK&lt;/D:status&gt;
                   &lt;/D:propstat&gt;
                   &lt;D:propstat&gt;
                     &lt;D:prop&gt;
                       &lt;ud1/&gt;
                     &lt;/D:prop&gt;
                     &lt;D:status&gt;HTTP/1.1 404 Not Found&lt;/D:status&gt;
                   &lt;/D:propstat&gt;
                  &lt;/D:response&gt;
                 &lt;/D:multistatus&gt;
                 </body>
              </response>
     </step>
        
   <step>
    <request>
     <command varUsage="globalVariableCollection,globalVariableServerName">DELETE 
/%globalVariableServerName%/%globalVariableCollection%/resource1.html 
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, 20 Feb 2001 16:49:49 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>      
        
  </test>
  
  
  1.1                  
jakarta-slide/testsuite/testsuite/junit/xmltestcases/functional/proppatch/code/CreateDefaultDefaultReadDefaultDav.xml
  
  Index: CreateDefaultDefaultReadDefaultDav.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
   <!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
  <test>
  
  
  
  <specification>
                
                <abstract>Test to check creation of properties within default 
namespace then changing
                the namespace and checking the property does not appear.</abstract>
                
                <pre-Requisite>A collection has been created and defined in 
tprocessor.cmd.</pre-Requisite>
                
                <description>1) Put a document.
                
                2)Proppatch command which creates a property in the Default Default 
namespace.
                
                3)Propfind on the Default Dav namespace to check property does not 
show up.
                
                4)Delete created file.</description>
                
                <expectedResult>Property not found by propFind as it is looking in the 
wrong namespace.
                </expectedResult>
                
        </specification>
        
        
        <step>
           <request>
              <command 
varUsage="userNumber,globalVariableCollection,globalVariableServerName">PUT 
/%globalVariableServerName%/%globalVariableCollection%/resource1.html 
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/html.html">
              </body>
           </request>
          <response>
             <command>HTTP/1.0 201 Created</command>
                <header>Date: Wed, 14 Mar 2001 15:45:51 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">PROPPATCH 
/%globalVariableServerName%/%globalVariableCollection%/resource1.html 
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>&lt;?xml version="1.0" ?&gt;
           &lt;D:propertyupdate xmlns:D="DAV:"&gt;
            &lt;D:set&gt;
               &lt;D:prop&gt;
                  &lt;ud1&gt;
                     test
                  &lt;/ud1&gt;
               &lt;/D:prop&gt;
           &lt;/D:set&gt;
        &lt;/D:propertyupdate&gt;
     </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">&lt;?xml version="1.0" encoding="utf-8" 
?&gt;
         &lt;d:multistatus xmlns:d="DAV" &gt;
            &lt;d:response&gt;
               &lt;d:href&gt;/%globalVariableCollection%/resource1.html&lt;/d:href&gt;
               &lt;d:propstat&gt;
                  &lt;d:prop&gt;
                     &lt;ud1/&gt;
                  &lt;/d:prop&gt;
                  &lt;d:status&gt;HTTP/1.1 200 OK&lt;/d:status&gt;
               &lt;/d:propstat&gt;
            &lt;/d:response&gt;
         &lt;/d:multistatus&gt;</body>
    </response>
   </step>
        
        
     <step>
           <user varUsage="userNumber">user%userNumber%</user>
             <password varUsage="userNumber">user%userNumber%</password>
              <request>
                 <command 
varUsage="globalVariableCollection,userNumber,globalVariableServerName">PROPFIND 
/%globalVariableServerName%/%globalVariableCollection%/resource1.html 
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" ?><propfind 
xmlns="DAV:"><prop><ud1/></prop></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,userNumber,globalVariableServerName">
                 &lt;?xml version="1.0" encoding="utf-8" ?&gt;
                 &lt;multistatus xmlns="DAV:" 
xmlns:S="http://jakarta.apache.org/slide/"; &gt;
                  &lt;response&gt;
                   
&lt;href&gt;/%globalVariableServerName%/%globalVariableCollection%/resource1.html&lt;/href&gt;
                   &lt;propstat&gt;
                     &lt;prop&gt;
                     &lt;/prop&gt;
                   &lt;status&gt;HTTP/1.1 200 OK&lt;/status&gt;
                   &lt;/propstat&gt;
                   &lt;propstat&gt;
                     &lt;prop&gt;
                       &lt;ud1/&gt;
                     &lt;/prop&gt;
                     &lt;status&gt;HTTP/1.1 404 Not Found&lt;/status&gt;
                   &lt;/propstat&gt;
                  &lt;/response&gt;
                 &lt;/multistatus&gt;
                 </body>
              </response>
     </step>
        
   <step>
    <request>
     <command varUsage="globalVariableCollection,globalVariableServerName">DELETE 
/%globalVariableServerName%/%globalVariableCollection%/resource1.html 
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, 20 Feb 2001 16:49:49 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>      
        
  </test>
  
  
  1.1                  
jakarta-slide/testsuite/testsuite/junit/xmltestcases/functional/proppatch/code/CreateDefaultDavReadDefaultUserDefined.xml
  
  Index: CreateDefaultDavReadDefaultUserDefined.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
   <!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
  <test>
  
  
  
  <specification>
                
                <abstract>Test to check creation of properties within default 
namespace then changing
                the namespace and checking the property does not appear.</abstract>
                
                <pre-Requisite>A collection has been created and defined in 
tprocessor.cmd.</pre-Requisite>
                
                <description>1) Put a document.
                
                2)Proppatch command which creates a property in the Default Dav 
namespace.
                
                3)Propfind on the Default Dav namespace to check property does not 
show up.
                
                4)Delete created file.</description>
                
                <expectedResult>Property not found by propFind as it is looking in the 
wrong namespace.
                </expectedResult>
                
        </specification>
        
        
        <step>
           <request>
              <command 
varUsage="userNumber,globalVariableCollection,globalVariableServerName">PUT 
/%globalVariableServerName%/%globalVariableCollection%/resource1.html 
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/html.html">
              </body>
           </request>
          <response>
             <command>HTTP/1.0 201 Created</command>
                <header>Date: Wed, 14 Mar 2001 15:45:51 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">PROPPATCH 
/%globalVariableServerName%/%globalVariableCollection%/resource1.html 
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>&lt;?xml version="1.0" ?&gt;
           &lt;propertyupdate  xmlns="DAV:"&gt;
            &lt;set&gt;
               &lt;prop&gt;
                  &lt;ud1&gt;
                     test
                  &lt;/ud1&gt;
               &lt;/prop&gt;
           &lt;/set&gt;
        &lt;/propertyupdate&gt;
     </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">&lt;?xml version="1.0" encoding="utf-8" 
?&gt;
         &lt;multistatus xmlns="DAV:"&gt;
            &lt;response&gt;
               &lt;href&gt;/%globalVariableCollection%/resource1.html&lt;/href&gt;
               &lt;propstat&gt;
                  &lt;prop&gt;
                     &lt;ud1/&gt;
                  &lt;/prop&gt;
                  &lt;status&gt;HTTP/1.1 200 OK&lt;/status&gt;
               &lt;/propstat&gt;
            &lt;/response&gt;
         &lt;/multistatus&gt;</body>
    </response>
   </step>
        
        
     <step>
           <user varUsage="userNumber">user%userNumber%</user>
             <password varUsage="userNumber">user%userNumber%</password>
              <request>
                 <command 
varUsage="globalVariableCollection,userNumber,globalVariableServerName">PROPFIND 
/%globalVariableServerName%/%globalVariableCollection%/resource1.html 
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="www.www.com.com" xmlns:D="DAV:"><D:prop><ud1/></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,userNumber,globalVariableServerName">
                 &lt;?xml version="1.0" encoding="utf-8" ?&gt;
                 &lt;D:multistatus xmlns="www.www.com.com" 
xmlns:S="http://jakarta.apache.org/slide/";  xmlns:D="DAV:"&gt;
                  &lt;D:response&gt;
                   
&lt;D:href&gt;/%globalVariableServerName%/%globalVariableCollection%/resource1.html&lt;/D:href&gt;
                   &lt;D:propstat&gt;
                     &lt;D:prop&gt;
                     &lt;/D:prop&gt;
                   &lt;D:status&gt;HTTP/1.1 200 OK&lt;/D:status&gt;
                   &lt;/D:propstat&gt;
                   &lt;D:propstat&gt;
                     &lt;D:prop&gt;
                       &lt;ud1/&gt;
                     &lt;/D:prop&gt;
                     &lt;D:status&gt;HTTP/1.1 404 Not Found&lt;/D:status&gt;
                   &lt;/D:propstat&gt;
                  &lt;/D:response&gt;
                 &lt;/D:multistatus&gt;
                 </body>
              </response>
     </step>
        
   <step>
    <request>
     <command varUsage="globalVariableCollection,globalVariableServerName">DELETE 
/%globalVariableServerName%/%globalVariableCollection%/resource1.html 
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, 20 Feb 2001 16:49:49 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>      
        
  </test>
  
  
  1.1                  
jakarta-slide/testsuite/testsuite/junit/xmltestcases/functional/proppatch/code/CreateDefaultDavReadDefaultDefault.xml
  
  Index: CreateDefaultDavReadDefaultDefault.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
   <!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
  <test>
  
  
  
  <specification>
                
                <abstract>Test to check creation of properties within default 
namespace then changing
                the namespace and checking the property does not appear.</abstract>
                
                <pre-Requisite>A collection has been created and defined in 
tprocessor.cmd.</pre-Requisite>
                
                <description>1) Put a document.
                
                2)Proppatch command which creates a property in the Default Dav 
namespace.
                
                3)Propfind on the Default Default namespace to check property does not 
show up.
                
                4)Delete created file.</description>
                
                <expectedResult>Property not found by propFind as it is looking in the 
wrong namespace.
                </expectedResult>
                
        </specification>
        
        
        <step>
           <request>
              <command 
varUsage="userNumber,globalVariableCollection,globalVariableServerName">PUT 
/%globalVariableServerName%/%globalVariableCollection%/resource1.html 
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/html.html">
              </body>
           </request>
          <response>
             <command>HTTP/1.0 201 Created</command>
                <header>Date: Wed, 14 Mar 2001 15:45:51 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">PROPPATCH 
/%globalVariableServerName%/%globalVariableCollection%/resource1.html 
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>&lt;?xml version="1.0" ?&gt;
           &lt;propertyupdate xmlns="DAV:"&gt;
            &lt;set&gt;
               &lt;prop&gt;
                  &lt;ud1&gt;
                     test
                  &lt;/ud1&gt;
               &lt;/prop&gt;
           &lt;/set&gt;
        &lt;/propertyupdate&gt;
     </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">&lt;?xml version="1.0" encoding="utf-8" 
?&gt;
         &lt;multistatus xmlns="DAV:" &gt;
            &lt;response&gt;
               &lt;href&gt;/%globalVariableCollection%/resource1.html&lt;/href&gt;
               &lt;propstat&gt;
                  &lt;prop&gt;
                     &lt;ud1/&gt;
                  &lt;/prop&gt;
                  &lt;status&gt;HTTP/1.1 200 OK&lt;/status&gt;
               &lt;/propstat&gt;
            &lt;/response&gt;
         &lt;/multistatus&gt;</body>
    </response>
   </step>
        
        
     <step>
           <user varUsage="userNumber">user%userNumber%</user>
             <password varUsage="userNumber">user%userNumber%</password>
              <request>
                 <command 
varUsage="globalVariableCollection,userNumber,globalVariableServerName">PROPFIND 
/%globalVariableServerName%/%globalVariableCollection%/resource1.html 
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><ud1/></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,userNumber,globalVariableServerName">
                 &lt;?xml version="1.0" encoding="utf-8" ?&gt;
                 &lt;D:multistatus xmlns:S="http://jakarta.apache.org/slide/";  
xmlns:D="DAV:"&gt;
                  &lt;D:response&gt;
                   
&lt;D:href&gt;/%globalVariableServerName%/%globalVariableCollection%/resource1.html&lt;/D:href&gt;
                   &lt;D:propstat&gt;
                     &lt;D:prop&gt;
                     &lt;/D:prop&gt;
                   &lt;D:status&gt;HTTP/1.1 200 OK&lt;/D:status&gt;
                   &lt;/D:propstat&gt;
                   &lt;D:propstat&gt;
                     &lt;D:prop&gt;
                       &lt;ud1/&gt;
                     &lt;/D:prop&gt;
                     &lt;D:status&gt;HTTP/1.1 404 Not Found&lt;/D:status&gt;
                   &lt;/D:propstat&gt;
                  &lt;/D:response&gt;
                 &lt;/D:multistatus&gt;
                 </body>
              </response>
     </step>
        
   <step>
    <request>
     <command varUsage="globalVariableCollection,globalVariableServerName">DELETE 
/%globalVariableServerName%/%globalVariableCollection%/resource1.html 
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, 20 Feb 2001 16:49:49 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>      
        
  </test>
  
  
  1.1                  
jakarta-slide/testsuite/testsuite/junit/xmltestcases/functional/proppatch/code/CreateDefaultDavReadDefaultDav.xml
  
  Index: CreateDefaultDavReadDefaultDav.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
   <!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
  <test>
  
  
  
  <specification>
                
                <abstract>Test to check creation of properties within default 
namespace then changing
                the namespace and checking the property does not appear.</abstract>
                
                <pre-Requisite>A collection has been created and defined in 
tprocessor.cmd.</pre-Requisite>
                
                <description>1) Put a document.
                
                2)Proppatch command which creates a property in the Default Dav 
namespace.
                
                3)Propfind on the Default Dav namespace to check property does not 
show up.
                
                4)Delete created file.</description>
                
                <expectedResult>Property not found by propFind as it is looking in the 
wrong namespace.
                </expectedResult>
                
        </specification>
        
        
        <step>
           <request>
              <command 
varUsage="userNumber,globalVariableCollection,globalVariableServerName">PUT 
/%globalVariableServerName%/%globalVariableCollection%/resource1.html 
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/html.html">
              </body>
           </request>
          <response>
             <command>HTTP/1.0 201 Created</command>
                <header>Date: Wed, 14 Mar 2001 15:45:51 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">PROPPATCH 
/%globalVariableServerName%/%globalVariableCollection%/resource1.html 
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>&lt;?xml version="1.0" ?&gt;
           &lt;propertyupdate  xmlns="DAV:"&gt;
            &lt;set&gt;
               &lt;prop&gt;
                  &lt;ud1&gt;
                     test
                  &lt;/ud1&gt;
               &lt;/prop&gt;
           &lt;/set&gt;
        &lt;/propertyupdate&gt;
     </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">&lt;?xml version="1.0" encoding="utf-8" 
?&gt;
         &lt;multistatus xmlns="DAV:"&gt;
            &lt;response&gt;
               &lt;href&gt;/%globalVariableCollection%/resource1.html&lt;/href&gt;
               &lt;propstat&gt;
                  &lt;prop&gt;
                     &lt;ud1/&gt;
                  &lt;/prop&gt;
                  &lt;status&gt;HTTP/1.1 200 OK&lt;/status&gt;
               &lt;/propstat&gt;
            &lt;/response&gt;
         &lt;/multistatus&gt;</body>
    </response>
   </step>
        
        
     <step>
           <user varUsage="userNumber">user%userNumber%</user>
             <password varUsage="userNumber">user%userNumber%</password>
              <request>
                 <command 
varUsage="globalVariableCollection,userNumber,globalVariableServerName">PROPFIND 
/%globalVariableServerName%/%globalVariableCollection%/resource1.html 
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" ?><propfind 
xmlns="DAV:"><prop><ud1/></prop></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,userNumber,globalVariableServerName">
                 &lt;?xml version="1.0" encoding="utf-8" ?&gt;
                 &lt;multistatus xmlns="DAV:" 
xmlns:S="http://jakarta.apache.org/slide/"; &gt;
                  &lt;response&gt;
                   
&lt;href&gt;/%globalVariableServerName%/%globalVariableCollection%/resource1.html&lt;/href&gt;
                   &lt;propstat&gt;
                    &lt;prop&gt;
                     &lt;ud1&gt;test&lt;/ud1&gt;
                    &lt;/prop&gt;
                    &lt;status&gt;HTTP/1.1 200 OK&lt;/status&gt;
                   &lt;/propstat&gt;
                  &lt;/response&gt;
                 &lt;/multistatus&gt;
                 </body>
              </response>
     </step>
        
   <step>
    <request>
     <command varUsage="globalVariableCollection,globalVariableServerName">DELETE 
/%globalVariableServerName%/%globalVariableCollection%/resource1.html 
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, 20 Feb 2001 16:49:49 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>      
        
  </test>
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to