aboutsummaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
Diffstat (limited to 'samples')
-rw-r--r--samples/xml/complex-tree.xml24
-rw-r--r--samples/xml/propstat-success.xml10
-rw-r--r--samples/xml/simple.xml6
3 files changed, 30 insertions, 10 deletions
diff --git a/samples/xml/complex-tree.xml b/samples/xml/complex-tree.xml
new file mode 100644
index 0000000..6b599be
--- /dev/null
+++ b/samples/xml/complex-tree.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<D:complex xmlns:D="DAV:">
+ <D:response>
+ </D:response>
+
+ <D:response>
+ <D:href>uri</D:href>
+
+ <D:propstat>
+ <D:status>400</D:status>
+ <D:prop>
+ <A:current xmlns:A="DAV:" />
+ </D:prop>
+ </D:propstat>
+
+ <D:propstat>
+ <D:status>200</D:status>
+ <D:prop>
+ <A:next xmlns:A="DAV:" />
+ </D:prop>
+ </D:propstat>
+ </D:response>
+</D:complex>
+
diff --git a/samples/xml/propstat-success.xml b/samples/xml/propstat-success.xml
deleted file mode 100644
index 93f27ec..0000000
--- a/samples/xml/propstat-success.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<D:status>HTTP/1.1 200 OK</D:status>
-<D:prop>
- <D:principal-URL>
- <D:href>/calendar/dav/calmozilla1@gmail.com/user/</D:href>
- </D:principal-URL>
- <D:resourcetype>
- <D:principal />
- <D:collection />
- </D:resourcetype>
-</D:prop>
diff --git a/samples/xml/simple.xml b/samples/xml/simple.xml
new file mode 100644
index 0000000..0e539da
--- /dev/null
+++ b/samples/xml/simple.xml
@@ -0,0 +1,6 @@
+<D:simple xmlns:D="DAV:">
+ <D:a>Foo</D:a>
+ <D:a href="some-url">Foo
+ bar</D:a>
+ <D:div><D:span>span</D:span></D:div>
+</D:simple>