<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>I got into schemas for the calws stuff and at that time attempted
      to create xsd schemas for those protocols. I managed to do so for
      a small subsection of caldav (queries I believe) but my
      recollection (and it's going back a while so the details may be
      wrong) is that the xml structure violates some of the requirements
      for XSD. Elements can be simple or complex in these protocols.
      There are some elements that have a different definition depending
      on context etc.</p>
    <p>Having experienced the benefits of xsd in the jaxb world I'd have
      argued strongly for such schemas and a more formal approach to
      defining the protocols. I don't know if relaxng will have the same
      issues.</p>
    <p>Also some of my problems might have been some of the constraints
      applied by the soap world but I don't think that was so.<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 12/1/17 10:50, David Given wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAPX+joB2F6vOk+9Dp+dnDs1phnbRuetUScyGg64O7C6Usx5dEg@mail.gmail.com">
      <div dir="ltr">Hello,
        <div><br>
        </div>
        <div>I'm aware that the DAV protocols aren't suitable for use
          with schema validators, due to the requirement to handle
          extension elements. Nevertheless, it would be really useful to
          have a definitive schema (either XSD or DTD) both for
          reference and as input for non-validating automation.</div>
        <div><br>
        </div>
        <div>The RFCs contain DTD fragments, but they're explicitly
          non-definitive and are there for documentation purposes only.
          And I don't really want to put together my own because then
          it'll be wrong. I've found some third party CalDAV schemas,
          all of which have comments saying that they're wrong, so I
          don't want to use those either.</div>
        <div><br>
        </div>
        <div>Does such a thing exist?<br>
        </div>
        <div><br>
        </div>
        <div>Thanks!</div>
        <div><br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
caldeveloper-l mailing list
<a class="moz-txt-link-abbreviated" href="mailto:caldeveloper-l@lists.calconnect.org">caldeveloper-l@lists.calconnect.org</a>
<a class="moz-txt-link-freetext" href="http://lists.calconnect.org/listinfo.cgi/caldeveloper-l-calconnect.org">http://lists.calconnect.org/listinfo.cgi/caldeveloper-l-calconnect.org</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>