mirror of
https://github.com/GNOME/libxml2.git
synced 2025-03-13 18:47:01 +08:00
Updated the tests and result files for better conformances, added rdf2, Daniel
This commit is contained in:
parent
e8cc5b327f
commit
3c2c2ce4af
@ -1,3 +1,9 @@
|
||||
Sun Jan 17 14:45:06 CET 1999 Daniel Veillard <Daniel.Veillard@w3.org>
|
||||
|
||||
* test/* : updated the examples, most of them were not well
|
||||
formed (humm), and added rdf2.
|
||||
* result/* : resulting changes in the output.
|
||||
|
||||
Sun Dec 6 13:06:58 EST 1998 Daniel Veillard <Daniel.Veillard@w3.org>
|
||||
|
||||
* tree.c: changed the behaviour of xmlGetProp on NULL values.
|
||||
|
@ -18,8 +18,8 @@
|
||||
</D:prop>
|
||||
<D:status>HTTP/1.1 403 Forbidden</D:status>
|
||||
<D:responsedescription> The user does not have access to the DingALing property.
|
||||
</D:responsedescription>
|
||||
</D:responsedescription>
|
||||
</D:response>
|
||||
<D:responsedescription> There has been an access violation error.
|
||||
</D:responsedescription>
|
||||
</D:responsedescription>
|
||||
</D:multistatus>
|
||||
|
@ -7,14 +7,14 @@
|
||||
<D:addlocks/>
|
||||
<D:owner>
|
||||
<D:href>
|
||||
http://www.ics.uci.edu/~ejw/contact.html
|
||||
</D:href>
|
||||
http://www.ics.uci.edu/~ejw/contact.html
|
||||
</D:href>
|
||||
</D:owner>
|
||||
<D:timeout>Second-604800</D:timeout>
|
||||
<D:locktoken>
|
||||
<D:href>
|
||||
opaquelocktoken:xyz122393481230912asdfa09s8df09s7df
|
||||
</D:href>
|
||||
opaquelocktoken:xyz122393481230912asdfa09s8df09s7df
|
||||
</D:href>
|
||||
</D:locktoken>
|
||||
</D:activelock>
|
||||
</D:lockdiscovery>
|
||||
|
@ -2,11 +2,11 @@
|
||||
<D:multistatus xmlns:D="http://www.ietf.org/standards/dav/">
|
||||
<D:response>
|
||||
<D:href>
|
||||
http://webdav.sb.aol.com/workspace/webdav/proposal.doc
|
||||
</D:href>
|
||||
http://webdav.sb.aol.com/workspace/webdav/proposal.doc
|
||||
</D:href>
|
||||
<D:href>
|
||||
http://webdav.sb.aol.com/workspace/webdav/
|
||||
</D:href>
|
||||
http://webdav.sb.aol.com/workspace/webdav/
|
||||
</D:href>
|
||||
<D:status>HTTP/1.1 202 Accepted</D:status>
|
||||
</D:response>
|
||||
<D:response>
|
||||
|
@ -13,5 +13,5 @@
|
||||
<D:status>HTTP/1.1 409 Conflict</D:status>
|
||||
</D:response>
|
||||
<D:responsedescription> Copyright Owner can not be deleted or
|
||||
altered.</D:responsedescription>
|
||||
altered.</D:responsedescription>
|
||||
</D:multistatus>
|
||||
|
@ -2,7 +2,7 @@
|
||||
<D:multistatus xmlns:D="http://www.ietf.org/standards/dav/">
|
||||
<D:response>
|
||||
<D:href>http://www.microsoft.com/user/yarong/dav_drafts/
|
||||
</D:href>
|
||||
</D:href>
|
||||
<D:prop>
|
||||
<D:resourcetype>
|
||||
<D:collection/>
|
||||
@ -12,8 +12,8 @@
|
||||
</D:response>
|
||||
<D:response>
|
||||
<D:href>
|
||||
http://www.microsoft.com/user/yarong/dav_drafts/base
|
||||
</D:href>
|
||||
http://www.microsoft.com/user/yarong/dav_drafts/base
|
||||
</D:href>
|
||||
<D:prop>
|
||||
<D:resourcetype/>
|
||||
</D:prop>
|
||||
|
22
result/p3p
22
result/p3p
@ -1,22 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<RDF:RDF xmlns:p3p="http//www.w3.org/TR/1998/WD-P3P10-syntax#proposal.DTD" xmlns:RDF="http://www.w3.org/TR/WD-rdf-syntax#">
|
||||
<PROP realm="http://www.CoolCatalog.com/catalogue/" entity="CoolCatalog" agreeID="94df1293a3e519bb" assurance="http://www.TrustUs.org">
|
||||
<USES>
|
||||
<STATEMENT purp="2,3" recpnt="0" id="0" consq="a site with clothes you'd appreciate.">
|
||||
<WITH>
|
||||
<PREFIX name="User.">
|
||||
<REF name="Name.First"/>
|
||||
<REF name="Bdate.Year" optional="1"/>
|
||||
<REF name="Gender"/>
|
||||
</PREFIX>
|
||||
</WITH>
|
||||
</STATEMENT>
|
||||
</USES>
|
||||
<USES>
|
||||
<STATEMENT action="read" purp="0" recpnt="0" id="1">
|
||||
<REF name="User.Shipping."/>
|
||||
</STATEMENT>
|
||||
</USES>
|
||||
<DISCLOSURE discURI="http://www.CoolCatalog.com/PrivacyPractice.html" access="3" other="0,1"/>
|
||||
</PROP>
|
||||
</RDF:RDF>
|
1899
result/rdf2
Normal file
1899
result/rdf2
Normal file
File diff suppressed because it is too large
Load Diff
48
test/dav1
48
test/dav1
@ -1,24 +1,24 @@
|
||||
<?XML version="1.0"?>
|
||||
<?namespace href ="http://www.ietf.org/standards/dav/" AS = "D"?>
|
||||
<?namespace href = "http://www.foo.bar/boxschema" AS = "R"?>
|
||||
<D:multistatus>
|
||||
<D:response>
|
||||
<D:prop>
|
||||
<R:bigbox>
|
||||
<R:BoxType>Box type A</R:BoxType>
|
||||
</R:bigbox>
|
||||
<R:author>
|
||||
<R:Name>J.J. Dingleheimerschmidt</R:Name>
|
||||
</R:author>
|
||||
</D:prop>
|
||||
<D:status>HTTP/1.1 200 OK</D:status>
|
||||
</D:response>
|
||||
<D:response>
|
||||
<D:prop><R:DingALing/><R:Random/></D:prop>
|
||||
<D:status>HTTP/1.1 403 Forbidden</D:status>
|
||||
<D:responsedescription> The user does not have access to the DingALing property.
|
||||
</D:responsedescription>
|
||||
</D:response>
|
||||
<D:responsedescription> There has been an access violation error.
|
||||
</D:responsedescription>
|
||||
</D:multistatus>
|
||||
<?XML version="1.0"?>
|
||||
<?namespace href ="http://www.ietf.org/standards/dav/" AS = "D"?>
|
||||
<?namespace href = "http://www.foo.bar/boxschema" AS = "R"?>
|
||||
<D:multistatus>
|
||||
<D:response>
|
||||
<D:prop>
|
||||
<R:bigbox>
|
||||
<R:BoxType>Box type A</R:BoxType>
|
||||
</R:bigbox>
|
||||
<R:author>
|
||||
<R:Name>J.J. Dingleheimerschmidt</R:Name>
|
||||
</R:author>
|
||||
</D:prop>
|
||||
<D:status>HTTP/1.1 200 OK</D:status>
|
||||
</D:response>
|
||||
<D:response>
|
||||
<D:prop><R:DingALing/><R:Random/></D:prop>
|
||||
<D:status>HTTP/1.1 403 Forbidden</D:status>
|
||||
<D:responsedescription> The user does not have access to the DingALing property.
|
||||
</D:responsedescription>
|
||||
</D:response>
|
||||
<D:responsedescription> There has been an access violation error.
|
||||
</D:responsedescription>
|
||||
</D:multistatus>
|
||||
|
10
test/dav10
10
test/dav10
@ -1,5 +1,5 @@
|
||||
<?XML version="1.0"?>
|
||||
<?namespace href="http://www.ietf.org/standards/dav/" AS = "D"?>
|
||||
<D:owner>
|
||||
<D:href>http://www.ics.uci.edu/~ejw/contact.html</D:href>
|
||||
</D:owner>
|
||||
<?XML version="1.0"?>
|
||||
<?namespace href="http://www.ietf.org/standards/dav/" AS = "D"?>
|
||||
<D:owner>
|
||||
<D:href>http://www.ics.uci.edu/~ejw/contact.html</D:href>
|
||||
</D:owner>
|
||||
|
44
test/dav11
44
test/dav11
@ -1,22 +1,22 @@
|
||||
<?XML version="1.0"?>
|
||||
<?namespace href ="http://www.ietf.org/standards/dav/" AS = "D"?>
|
||||
<D:prop>
|
||||
<D:lockdiscovery>
|
||||
<D:activelock>
|
||||
<D:locktype>write</D:locktype>
|
||||
<D:lockscope>exclusive</D:lockscope>
|
||||
<D:addlocks/>
|
||||
<D:owner>
|
||||
<D:href>
|
||||
http://www.ics.uci.edu/~ejw/contact.html
|
||||
</D:href>
|
||||
</D:owner>
|
||||
<D:timeout>Second-604800</D:timeout>
|
||||
<D:locktoken>
|
||||
<D:href>
|
||||
opaquelocktoken:xyz122393481230912asdfa09s8df09s7df
|
||||
</D:href>
|
||||
</D:locktoken>
|
||||
</D:activelock>
|
||||
</D:lockdiscovery>
|
||||
</D:prop>
|
||||
<?XML version="1.0"?>
|
||||
<?namespace href ="http://www.ietf.org/standards/dav/" AS = "D"?>
|
||||
<D:prop>
|
||||
<D:lockdiscovery>
|
||||
<D:activelock>
|
||||
<D:locktype>write</D:locktype>
|
||||
<D:lockscope>exclusive</D:lockscope>
|
||||
<D:addlocks/>
|
||||
<D:owner>
|
||||
<D:href>
|
||||
http://www.ics.uci.edu/~ejw/contact.html
|
||||
</D:href>
|
||||
</D:owner>
|
||||
<D:timeout>Second-604800</D:timeout>
|
||||
<D:locktoken>
|
||||
<D:href>
|
||||
opaquelocktoken:xyz122393481230912asdfa09s8df09s7df
|
||||
</D:href>
|
||||
</D:locktoken>
|
||||
</D:activelock>
|
||||
</D:lockdiscovery>
|
||||
</D:prop>
|
||||
|
@ -1,3 +1,3 @@
|
||||
<?XML version="1.0"?>
|
||||
<?namespace href="http://www.ietf.org/standards/dav/" AS = "D"?>
|
||||
<D:href>http://www.ics.uci.edu/~ejw/contact.html</D:href>
|
||||
<?XML version="1.0"?>
|
||||
<?namespace href="http://www.ietf.org/standards/dav/" AS = "D"?>
|
||||
<D:href>http://www.ics.uci.edu/~ejw/contact.html</D:href>
|
||||
|
34
test/dav13
34
test/dav13
@ -1,17 +1,17 @@
|
||||
<?XML version="1.0"?>
|
||||
<?namespace href = "http://www.ietf.org/standards/dav/" AS = "D"?>
|
||||
<D:multistatus>
|
||||
<D:response>
|
||||
<D:href>
|
||||
http://webdav.sb.aol.com/workspace/webdav/proposal.doc
|
||||
</D:href>
|
||||
<D:href>
|
||||
http://webdav.sb.aol.com/workspace/webdav/
|
||||
</D:href>
|
||||
<D:status>HTTP/1.1 202 Accepted</D:status>
|
||||
</D:response>
|
||||
<D:response>
|
||||
<D:href>http://foo.bar/blah</D:href>
|
||||
<D:status>HTTP/1.1 403 Forbidden</D:status>
|
||||
</D:response>
|
||||
</D:multistatus>
|
||||
<?XML version="1.0"?>
|
||||
<?namespace href = "http://www.ietf.org/standards/dav/" AS = "D"?>
|
||||
<D:multistatus>
|
||||
<D:response>
|
||||
<D:href>
|
||||
http://webdav.sb.aol.com/workspace/webdav/proposal.doc
|
||||
</D:href>
|
||||
<D:href>
|
||||
http://webdav.sb.aol.com/workspace/webdav/
|
||||
</D:href>
|
||||
<D:status>HTTP/1.1 202 Accepted</D:status>
|
||||
</D:response>
|
||||
<D:response>
|
||||
<D:href>http://foo.bar/blah</D:href>
|
||||
<D:status>HTTP/1.1 403 Forbidden</D:status>
|
||||
</D:response>
|
||||
</D:multistatus>
|
||||
|
44
test/dav15
44
test/dav15
@ -1,22 +1,22 @@
|
||||
<?XML version="1.0"?>
|
||||
<?namespace href = "http://www.ietf.org/standards/dav/" AS = "D"?>
|
||||
<?namespace href = "http://www.foocorp.com/Project/" AS = "F"?>
|
||||
<D:prop>
|
||||
<D:Source>
|
||||
<D:link>
|
||||
<F:projfiles>Source</F:projfiles>
|
||||
<D:src>http://foo.bar/program</D:src>
|
||||
<D:dst>http://foo.bar/src/main.c</D:dst>
|
||||
</D:link>
|
||||
<D:link>
|
||||
<F:projfiles>Library</F:projfiles>
|
||||
<D:src>http://foo.bar/program</D:src>
|
||||
<D:dst>http://foo.bar/src/main.lib</D:dst>
|
||||
</D:link>
|
||||
<D:link>
|
||||
<F:projfiles>Makefile</F:projfiles>
|
||||
<D:src>http://foo.bar/program</D:src>
|
||||
<D:dst>http://foo.bar/src/makefile</D:dst>
|
||||
</D:link>
|
||||
</D:Source>
|
||||
</D:prop>
|
||||
<?XML version="1.0"?>
|
||||
<?namespace href = "http://www.ietf.org/standards/dav/" AS = "D"?>
|
||||
<?namespace href = "http://www.foocorp.com/Project/" AS = "F"?>
|
||||
<D:prop>
|
||||
<D:Source>
|
||||
<D:link>
|
||||
<F:projfiles>Source</F:projfiles>
|
||||
<D:src>http://foo.bar/program</D:src>
|
||||
<D:dst>http://foo.bar/src/main.c</D:dst>
|
||||
</D:link>
|
||||
<D:link>
|
||||
<F:projfiles>Library</F:projfiles>
|
||||
<D:src>http://foo.bar/program</D:src>
|
||||
<D:dst>http://foo.bar/src/main.lib</D:dst>
|
||||
</D:link>
|
||||
<D:link>
|
||||
<F:projfiles>Makefile</F:projfiles>
|
||||
<D:src>http://foo.bar/program</D:src>
|
||||
<D:dst>http://foo.bar/src/makefile</D:dst>
|
||||
</D:link>
|
||||
</D:Source>
|
||||
</D:prop>
|
||||
|
10
test/dav16
10
test/dav16
@ -1,5 +1,5 @@
|
||||
<?XML version="1.0"?>
|
||||
<?namespace href = "http://www.ietf.org/standards/dav/" AS = "D"?>
|
||||
<D:propfind>
|
||||
<D:prop><lockdiscovery/></D:prop>
|
||||
</D:propfind>
|
||||
<?XML version="1.0"?>
|
||||
<?namespace href = "http://www.ietf.org/standards/dav/" AS = "D"?>
|
||||
<D:propfind>
|
||||
<D:prop><lockdiscovery/></D:prop>
|
||||
</D:propfind>
|
||||
|
46
test/dav17
46
test/dav17
@ -1,23 +1,23 @@
|
||||
<?XML version="1.0"?>
|
||||
<?namespace href ="http://www.ietf.org/standards/dav/" AS = "D"?>
|
||||
<D:multistatus>
|
||||
<D:response>
|
||||
<D:prop>
|
||||
<D:lockdiscovery>
|
||||
<D:activelock>
|
||||
<D:locktype>write</D:locktype>
|
||||
<D:lockscope>exclusive</D:lockscope>
|
||||
<D:addlocks>
|
||||
<D:href>http://foo.com/doc/</D:href>
|
||||
</D:addlocks>
|
||||
<D:owner>Jane Smith</D:owner>
|
||||
<D:timeout>Infinite</D:timeout>
|
||||
<D:locktoken>
|
||||
<D:href>iamuri:unique!!!!!</D:href>
|
||||
</D:locktoken>
|
||||
</D:activelock>
|
||||
</D:lockdiscovery>
|
||||
</D:prop>
|
||||
<D:status>HTTP/1.1 200 OK</D:status>
|
||||
</D:response>
|
||||
</D:multistatus>
|
||||
<?XML version="1.0"?>
|
||||
<?namespace href ="http://www.ietf.org/standards/dav/" AS = "D"?>
|
||||
<D:multistatus>
|
||||
<D:response>
|
||||
<D:prop>
|
||||
<D:lockdiscovery>
|
||||
<D:activelock>
|
||||
<D:locktype>write</D:locktype>
|
||||
<D:lockscope>exclusive</D:lockscope>
|
||||
<D:addlocks>
|
||||
<D:href>http://foo.com/doc/</D:href>
|
||||
</D:addlocks>
|
||||
<D:owner>Jane Smith</D:owner>
|
||||
<D:timeout>Infinite</D:timeout>
|
||||
<D:locktoken>
|
||||
<D:href>iamuri:unique!!!!!</D:href>
|
||||
</D:locktoken>
|
||||
</D:activelock>
|
||||
</D:lockdiscovery>
|
||||
</D:prop>
|
||||
<D:status>HTTP/1.1 200 OK</D:status>
|
||||
</D:response>
|
||||
</D:multistatus>
|
||||
|
10
test/dav18
10
test/dav18
@ -1,5 +1,5 @@
|
||||
<?XML version="1.0"?>
|
||||
<?namespace href = "http://www.ietf.org/standards/dav/" AS = "D"?>
|
||||
<D:propfind>
|
||||
<D:prop><supportedlock/></D:prop>
|
||||
</D:propfind>
|
||||
<?XML version="1.0"?>
|
||||
<?namespace href = "http://www.ietf.org/standards/dav/" AS = "D"?>
|
||||
<D:propfind>
|
||||
<D:prop><supportedlock/></D:prop>
|
||||
</D:propfind>
|
||||
|
38
test/dav19
38
test/dav19
@ -1,19 +1,19 @@
|
||||
<?XML version="1.0"?>
|
||||
<?namespace href ="http://www.ietf.org/standards/dav/" AS = "D"?>
|
||||
<D:multistatus>
|
||||
<D:response>
|
||||
<D:prop>
|
||||
<D:supportedlock>
|
||||
<D:LockEntry>
|
||||
<D:locktype>Write</D:locktype>
|
||||
<D:lockscope>Exclusive</D:lockscope>
|
||||
</D:LockEntry>
|
||||
<D:LockEntry>
|
||||
<D:locktype>Write</D:locktype>
|
||||
<D:lockscope>Shared</D:lockscope>
|
||||
</D:LockEntry>
|
||||
</D:supportedlock>
|
||||
</D:prop>
|
||||
<D:status>HTTP/1.1 200 OK</D:status>
|
||||
</D:response>
|
||||
</D:multistatus>
|
||||
<?XML version="1.0"?>
|
||||
<?namespace href ="http://www.ietf.org/standards/dav/" AS = "D"?>
|
||||
<D:multistatus>
|
||||
<D:response>
|
||||
<D:prop>
|
||||
<D:supportedlock>
|
||||
<D:LockEntry>
|
||||
<D:locktype>Write</D:locktype>
|
||||
<D:lockscope>Exclusive</D:lockscope>
|
||||
</D:LockEntry>
|
||||
<D:LockEntry>
|
||||
<D:locktype>Write</D:locktype>
|
||||
<D:lockscope>Shared</D:lockscope>
|
||||
</D:LockEntry>
|
||||
</D:supportedlock>
|
||||
</D:prop>
|
||||
<D:status>HTTP/1.1 200 OK</D:status>
|
||||
</D:response>
|
||||
</D:multistatus>
|
||||
|
52
test/dav2
52
test/dav2
@ -1,26 +1,26 @@
|
||||
<?XML version="1.0"?>
|
||||
<?namespace href = "http://www.ietf.org/standards/dav/" AS = "S"?>
|
||||
<?namespace href = "http://www.foo.bar/boxschema/" AS = "R"?>
|
||||
<S:multistatus>
|
||||
<S:response>
|
||||
<S:href>http://www.foo.bar/container/</S:href>
|
||||
<S:prop>
|
||||
<R:bigbox>
|
||||
<R:BoxType>Box type A</R:BoxType>
|
||||
</R:bigbox>
|
||||
<R:author>
|
||||
<R:Name>Hadrian</R:Name>
|
||||
</R:author>
|
||||
</S:prop>
|
||||
<S:status>HTTP 1.1 200 OK</S:status>
|
||||
</S:response>
|
||||
<S:response>
|
||||
<S:href>http://www.foo.bar/container/index.html</S:href>
|
||||
<S:prop>
|
||||
<R:bigbox>
|
||||
<R:BoxType>Box type B</R:BoxType>
|
||||
</R:bigbox>
|
||||
</S:prop>
|
||||
<S:status>HTTP 1.1 200 OK</S:status>
|
||||
</S:response>
|
||||
</S:multistatus>
|
||||
<?XML version="1.0"?>
|
||||
<?namespace href = "http://www.ietf.org/standards/dav/" AS = "S"?>
|
||||
<?namespace href = "http://www.foo.bar/boxschema/" AS = "R"?>
|
||||
<S:multistatus>
|
||||
<S:response>
|
||||
<S:href>http://www.foo.bar/container/</S:href>
|
||||
<S:prop>
|
||||
<R:bigbox>
|
||||
<R:BoxType>Box type A</R:BoxType>
|
||||
</R:bigbox>
|
||||
<R:author>
|
||||
<R:Name>Hadrian</R:Name>
|
||||
</R:author>
|
||||
</S:prop>
|
||||
<S:status>HTTP 1.1 200 OK</S:status>
|
||||
</S:response>
|
||||
<S:response>
|
||||
<S:href>http://www.foo.bar/container/index.html</S:href>
|
||||
<S:prop>
|
||||
<R:bigbox>
|
||||
<R:BoxType>Box type B</R:BoxType>
|
||||
</R:bigbox>
|
||||
</S:prop>
|
||||
<S:status>HTTP 1.1 200 OK</S:status>
|
||||
</S:response>
|
||||
</S:multistatus>
|
||||
|
40
test/dav3
40
test/dav3
@ -1,20 +1,20 @@
|
||||
<?XML version="1.0"?>
|
||||
<?namespace href = "http://www.ietf.org/standards/dav/" AS = "D"?>
|
||||
<?namespace href = "http://www.foo.bar/boxschema/" AS = "R"?>
|
||||
<D:multistatus>
|
||||
<D:response>
|
||||
<D:href>http://www.foo.bar/container/</D:href>
|
||||
<D:prop>
|
||||
<R:bigbox/>
|
||||
<R:author/>
|
||||
</D:prop>
|
||||
<D:status>HTTP 1.1 200 OK</D:status>
|
||||
</D:response>
|
||||
<D:response>
|
||||
<D:href>http://www.foo.bar/container/index.html</D:href>
|
||||
<D:prop>
|
||||
<R:bigbox/>
|
||||
</D:prop>
|
||||
<D:status>HTTP 1.1 200 OK</D:status>
|
||||
</D:response>
|
||||
</D:multistatus>
|
||||
<?XML version="1.0"?>
|
||||
<?namespace href = "http://www.ietf.org/standards/dav/" AS = "D"?>
|
||||
<?namespace href = "http://www.foo.bar/boxschema/" AS = "R"?>
|
||||
<D:multistatus>
|
||||
<D:response>
|
||||
<D:href>http://www.foo.bar/container/</D:href>
|
||||
<D:prop>
|
||||
<R:bigbox/>
|
||||
<R:author/>
|
||||
</D:prop>
|
||||
<D:status>HTTP 1.1 200 OK</D:status>
|
||||
</D:response>
|
||||
<D:response>
|
||||
<D:href>http://www.foo.bar/container/index.html</D:href>
|
||||
<D:prop>
|
||||
<R:bigbox/>
|
||||
</D:prop>
|
||||
<D:status>HTTP 1.1 200 OK</D:status>
|
||||
</D:response>
|
||||
</D:multistatus>
|
||||
|
32
test/dav4
32
test/dav4
@ -1,16 +1,16 @@
|
||||
<?XML version="1.0"?>
|
||||
<?namespace href = "http://www.ietf.org/standards/dav/" AS = "D"?>
|
||||
<?namespace href = "http://www.w3.com/standards/z39.50/" AS = "Z"?>
|
||||
<D:propertyupdate>
|
||||
<D:set>
|
||||
<D:prop>
|
||||
<Z:authors>
|
||||
<Z:Author>Jim Whitehead</Z:Author>
|
||||
<Z:Author>Roy Fielding</Z:Author>
|
||||
</Z:authors>
|
||||
</D:prop>
|
||||
</D:set>
|
||||
<D:remove>
|
||||
<D:prop><Z:Copyright-Owner/></D:prop>
|
||||
</D:remove>
|
||||
</D:propertyupdate>
|
||||
<?XML version="1.0"?>
|
||||
<?namespace href = "http://www.ietf.org/standards/dav/" AS = "D"?>
|
||||
<?namespace href = "http://www.w3.com/standards/z39.50/" AS = "Z"?>
|
||||
<D:propertyupdate>
|
||||
<D:set>
|
||||
<D:prop>
|
||||
<Z:authors>
|
||||
<Z:Author>Jim Whitehead</Z:Author>
|
||||
<Z:Author>Roy Fielding</Z:Author>
|
||||
</Z:authors>
|
||||
</D:prop>
|
||||
</D:set>
|
||||
<D:remove>
|
||||
<D:prop><Z:Copyright-Owner/></D:prop>
|
||||
</D:remove>
|
||||
</D:propertyupdate>
|
||||
|
30
test/dav5
30
test/dav5
@ -1,15 +1,15 @@
|
||||
<?XML version="1.0"?>
|
||||
<?namespace href="http://www.ietf.org/standards/dav/" AS = "D"?>
|
||||
<?namespace href="http://www.w3.com/standards/z39.50/" AS = "Z"?>
|
||||
<D:multistatus>
|
||||
<D:response>
|
||||
<D:prop><Z:Authors/></D:prop>
|
||||
<D:status>HTTP/1.1 420 Method Failure</D:status>
|
||||
</D:response>
|
||||
<D:response>
|
||||
<D:prop><Z:Copyright-Owner/></D:prop>
|
||||
<D:status>HTTP/1.1 409 Conflict</D:status>
|
||||
</D:response>
|
||||
<D:responsedescription> Copyright Owner can not be deleted or
|
||||
altered.</D:responsedescription>
|
||||
</D:multistatus>
|
||||
<?XML version="1.0"?>
|
||||
<?namespace href="http://www.ietf.org/standards/dav/" AS = "D"?>
|
||||
<?namespace href="http://www.w3.com/standards/z39.50/" AS = "Z"?>
|
||||
<D:multistatus>
|
||||
<D:response>
|
||||
<D:prop><Z:Authors/></D:prop>
|
||||
<D:status>HTTP/1.1 420 Method Failure</D:status>
|
||||
</D:response>
|
||||
<D:response>
|
||||
<D:prop><Z:Copyright-Owner/></D:prop>
|
||||
<D:status>HTTP/1.1 409 Conflict</D:status>
|
||||
</D:response>
|
||||
<D:responsedescription> Copyright Owner can not be deleted or
|
||||
altered.</D:responsedescription>
|
||||
</D:multistatus>
|
||||
|
46
test/dav6
46
test/dav6
@ -1,23 +1,23 @@
|
||||
<?XML version="1.0"?>
|
||||
<?namespace href = "http://www.ietf.org/standards/dav/" AS = "D"?>
|
||||
<D:multistatus>
|
||||
<D:response>
|
||||
<D:href>http://www.microsoft.com/user/yarong/dav_drafts/
|
||||
</D:href>
|
||||
<D:prop>
|
||||
<D:resourcetype>
|
||||
<D:collection/>
|
||||
</D:resourcetype>
|
||||
</D:prop>
|
||||
<D:status>HTTP 1.1 200 OK</D:status>
|
||||
</D:response>
|
||||
<D:response>
|
||||
<D:href>
|
||||
http://www.microsoft.com/user/yarong/dav_drafts/base
|
||||
</D:href>
|
||||
<D:prop>
|
||||
<D:resourcetype/>
|
||||
</D:prop>
|
||||
<D:status>HTTP 1.1 200 OK</D:status>
|
||||
</D:response>
|
||||
</D:multistatus>
|
||||
<?XML version="1.0"?>
|
||||
<?namespace href = "http://www.ietf.org/standards/dav/" AS = "D"?>
|
||||
<D:multistatus>
|
||||
<D:response>
|
||||
<D:href>http://www.microsoft.com/user/yarong/dav_drafts/
|
||||
</D:href>
|
||||
<D:prop>
|
||||
<D:resourcetype>
|
||||
<D:collection/>
|
||||
</D:resourcetype>
|
||||
</D:prop>
|
||||
<D:status>HTTP 1.1 200 OK</D:status>
|
||||
</D:response>
|
||||
<D:response>
|
||||
<D:href>
|
||||
http://www.microsoft.com/user/yarong/dav_drafts/base
|
||||
</D:href>
|
||||
<D:prop>
|
||||
<D:resourcetype/>
|
||||
</D:prop>
|
||||
<D:status>HTTP 1.1 200 OK</D:status>
|
||||
</D:response>
|
||||
</D:multistatus>
|
||||
|
34
test/dav7
34
test/dav7
@ -1,17 +1,17 @@
|
||||
<?XML version="1.0"?>
|
||||
<?namespace href = "http://www.ietf.org/standards/dav/" AS = "d"?>
|
||||
<d:multistatus>
|
||||
<d:response>
|
||||
<d:href>http://www.foo.bar/container/resource1</d:href>
|
||||
<d:href>http://www.foo.bar/container/resource2</d:href>
|
||||
<d:status>HTTP/1.1 200 OK</d:status>
|
||||
</d:response>
|
||||
<d:response>
|
||||
<d:href>http://www.foo.bar/container/</d:href>
|
||||
<d:status>HTTP/1.1 420 Method Failure</d:status>
|
||||
</d:response>
|
||||
<d:response>
|
||||
<d:href>http://www.foo.bar/container/resource3</d:href>
|
||||
<d:status>HTTP/1.1 412 Precondition Failed</d:status>
|
||||
</d:response>
|
||||
</d:multistatus>
|
||||
<?XML version="1.0"?>
|
||||
<?namespace href = "http://www.ietf.org/standards/dav/" AS = "d"?>
|
||||
<d:multistatus>
|
||||
<d:response>
|
||||
<d:href>http://www.foo.bar/container/resource1</d:href>
|
||||
<d:href>http://www.foo.bar/container/resource2</d:href>
|
||||
<d:status>HTTP/1.1 200 OK</d:status>
|
||||
</d:response>
|
||||
<d:response>
|
||||
<d:href>http://www.foo.bar/container/</d:href>
|
||||
<d:status>HTTP/1.1 420 Method Failure</d:status>
|
||||
</d:response>
|
||||
<d:response>
|
||||
<d:href>http://www.foo.bar/container/resource3</d:href>
|
||||
<d:status>HTTP/1.1 412 Precondition Failed</d:status>
|
||||
</d:response>
|
||||
</d:multistatus>
|
||||
|
30
test/dav8
30
test/dav8
@ -1,15 +1,15 @@
|
||||
<?XML version="1.0"?>
|
||||
<?namespace href = "http://www.ietf.org/standards/dav/" AS = "d"?>
|
||||
<d:multistatus>
|
||||
<d:response>
|
||||
<d:href>http://www.foo.bar/othercontainer/resource1</d:href>
|
||||
<d:href>http://www.foo.bar/othercontainer/resource2</d:href>
|
||||
<d:href>http://www.foo.bar/othercontainer/</d:href>
|
||||
<d:href>http://www.foo.bar/othercontainer/R2/D2</d:href>
|
||||
<d:status>HTTP/1.1 201 Created</d:status>
|
||||
</d:response>
|
||||
<d:response>
|
||||
<d:href>http://www.foo.bar/othercontainer/R2/</d:href>
|
||||
<d:status>HTTP/1.1 412 Precondition Failed</d:status>
|
||||
</d:response>
|
||||
</d:multistatus>
|
||||
<?XML version="1.0"?>
|
||||
<?namespace href = "http://www.ietf.org/standards/dav/" AS = "d"?>
|
||||
<d:multistatus>
|
||||
<d:response>
|
||||
<d:href>http://www.foo.bar/othercontainer/resource1</d:href>
|
||||
<d:href>http://www.foo.bar/othercontainer/resource2</d:href>
|
||||
<d:href>http://www.foo.bar/othercontainer/</d:href>
|
||||
<d:href>http://www.foo.bar/othercontainer/R2/D2</d:href>
|
||||
<d:status>HTTP/1.1 201 Created</d:status>
|
||||
</d:response>
|
||||
<d:response>
|
||||
<d:href>http://www.foo.bar/othercontainer/R2/</d:href>
|
||||
<d:status>HTTP/1.1 412 Precondition Failed</d:status>
|
||||
</d:response>
|
||||
</d:multistatus>
|
||||
|
38
test/dav9
38
test/dav9
@ -1,19 +1,19 @@
|
||||
<?XML version="1.0"?>
|
||||
<?namespace href = "http://www.ietf.org/standards/dav/" AS = "d"?>
|
||||
<d:multistatus>
|
||||
<d:response>
|
||||
<d:href>http://www.foo.bar/container/resource1</d:href>
|
||||
<d:href>http://www.foo.bar/container/resource2</d:href>
|
||||
<d:href>http://www.foo.bar/container/</d:href>
|
||||
<d:href>http://www.foo.bar/container/C2/R2</d:href>
|
||||
<d:status>HTTP/1.1 201 Created</d:status>
|
||||
</d:response>
|
||||
<d:response>
|
||||
<d:href>http://www.foo.bar/container/C2</d:href>
|
||||
<d:status>HTTP/1.1 420 Method Failure</d:status>
|
||||
</d:response>
|
||||
<d:response>
|
||||
<d:href>http://www.foo.bar/othercontainer/C2</d:href>
|
||||
<d:status>HTTP/1.1 409 Conflict</d:status>
|
||||
</d:response>
|
||||
</d:multistatus>
|
||||
<?XML version="1.0"?>
|
||||
<?namespace href = "http://www.ietf.org/standards/dav/" AS = "d"?>
|
||||
<d:multistatus>
|
||||
<d:response>
|
||||
<d:href>http://www.foo.bar/container/resource1</d:href>
|
||||
<d:href>http://www.foo.bar/container/resource2</d:href>
|
||||
<d:href>http://www.foo.bar/container/</d:href>
|
||||
<d:href>http://www.foo.bar/container/C2/R2</d:href>
|
||||
<d:status>HTTP/1.1 201 Created</d:status>
|
||||
</d:response>
|
||||
<d:response>
|
||||
<d:href>http://www.foo.bar/container/C2</d:href>
|
||||
<d:status>HTTP/1.1 420 Method Failure</d:status>
|
||||
</d:response>
|
||||
<d:response>
|
||||
<d:href>http://www.foo.bar/othercontainer/C2</d:href>
|
||||
<d:status>HTTP/1.1 409 Conflict</d:status>
|
||||
</d:response>
|
||||
</d:multistatus>
|
||||
|
Loading…
x
Reference in New Issue
Block a user