From 536f0c2b8391b95750de370b0f851d8a83d28598 Mon Sep 17 00:00:00 2001 From: James Lal Date: Mon, 25 Jun 2012 16:05:40 +0200 Subject: more samples --- lib/webcals/sax/dav_response.js | 5 ++++- samples/xml/req_find_events_url.xml | 17 +++++++++++++++++ samples/xml/req_find_principal.xml | 12 ++++++++++++ 3 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 samples/xml/req_find_events_url.xml create mode 100644 samples/xml/req_find_principal.xml diff --git a/lib/webcals/sax/dav_response.js b/lib/webcals/sax/dav_response.js index 7cf78af..638951e 100644 --- a/lib/webcals/sax/dav_response.js +++ b/lib/webcals/sax/dav_response.js @@ -107,7 +107,10 @@ 'DAV:/href': TextHandler, 'DAV:/status': HttpStatusHandler, 'DAV:/resourcetype': ArrayHandler, - 'DAV:/principal-URL': HrefHandler + 'DAV:/principal-URL': HrefHandler, + 'DAV:/value': TextHandler, + 'urn:ietf:params:xml:ns:caldav/calendar-home-set': HrefHandler, + 'urn:ietf:params:xml:ns:caldav/calendar-user-address-set': HrefHandler }, onopentag: function(data, handler) { diff --git a/samples/xml/req_find_events_url.xml b/samples/xml/req_find_events_url.xml new file mode 100644 index 0000000..6485644 --- /dev/null +++ b/samples/xml/req_find_events_url.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/samples/xml/req_find_principal.xml b/samples/xml/req_find_principal.xml new file mode 100644 index 0000000..b34f46a --- /dev/null +++ b/samples/xml/req_find_principal.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + -- cgit