apple / ccs-caldavtester

CalDAV/CardDAV Testing Framework used by CalendarServer
https://www.calendarserver.org
Apache License 2.0
57 stars 36 forks source link

sharing-notification-sync.xml - incorrect resources #23

Open macosforgebot opened 11 years ago

macosforgebot commented 11 years ago

douglm@… originally submitted this as ticket:540


Resource/CalDAV/sharing/notification-sync/2.xml has the content

<?xml version="1.0" encoding="utf-8" ?>
<D:sync-collection xmlns:D="DAV:">
<D:sync-token/>
</D:sync-collection>

which is invalid according to the spec

   <!ELEMENT sync-collection (sync-token, sync-level, limit?, prop)>

Should be more like

   <?xml version="1.0" encoding="utf-8" ?>
   <D:sync-collection xmlns:D="DAV:">
     <D:sync-token/>
     <D:sync-level>1</D:sync-level>
     <D:prop>
       <D:getetag/>
     </D:prop>
   </D:sync-collection>

Similarly 4.xml, 9.xml

macosforgebot commented 10 years ago

@wsanchez originally submitted this as comment:4:⁠ticket:540

macosforgebot commented 10 years ago

@wsanchez originally submitted this as comment:5:⁠ticket:540