Re: DAV Schema Assessment (was Re: rfc2518bis DAV DTD ...)

There's not much interest in Relax NG in actual vendor products.  Unless
people are actually going to use validators, I don't think we should push
Relax NG on people.

--Eric

----- Original Message ----- 
From: "Julian Reschke" <julian.reschke@gmx.de>
To: "Julian Reschke" <julian.reschke@gmx.de>; <dennis.hamilton@acm.org>;
"Stanley Guan" <stanley.guan@oracle.com>; <w3c-dist-auth@w3.org>
Sent: Thursday, October 16, 2003 2:50 PM
Subject: RE: DAV Schema Assessment (was Re: rfc2518bis DAV DTD ...)


>
> OK,
>
> I just spend a few minutes with Jing (Relax NG validator) and Trang
(Schema
> Language convertor) [1]. Some initial thoughts:
>
> - RelaxNG can express WebDAV's extensibility model
> - RelaxNG has both an XML based syntax (à la XML Schema) and a Compact
> syntax (à la DTD)
> - Trang supports to/from DTD, XML Schema, RelaxG (compact/XML) and (!)
> sample XML instance data
> - RelaxNG supports the XML schema datatypes
>
> Here's an example for dav:propfind in RNC (Relax NG Compact Syntax):
>
> namespace dav = "DAV:"
>
> start = propfind
>
> allprop = element dav:allprop { empty }
>
> prop =
>   element dav:prop {
>     element * { empty }+
>   }
> propname = element dav:propname { empty }
> propfind = element dav:propfind { (allprop | prop | propname) & EXT? }
>
> EXT =
>   element * - (dav:allprop
>                | dav:href
>                | dav:multistatus
>                | dav:prop
>                | dav:propfind
>                | dav:propname
>                | dav:response
>                | dav:status) { empty }
>
> ...you get the idea.
>
> Should we pursue this?
>
> Julian
>
>
> [1] <http://www.relaxng.org/>
>
> --
> <green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760
>
>
>

Received on Thursday, 16 October 2003 18:38:54 UTC