W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > October to December 2003

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

From: Dennis E. Hamilton <dennis.hamilton@acm.org>
Date: Fri, 17 Oct 2003 11:05:13 -0700
To: "Eric Sedlar" <eric.sedlar@oracle.com>, "'Julian Reschke'" <julian.reschke@gmx.de>, "'Stanley Guan'" <stanley.guan@oracle.com>, <w3c-dist-auth@w3.org>
Message-ID: <FFEPLLNFAHGBKNENFGPAIEIPDDAA.dennis.hamilton@acm.org>

That's correct.

You can't use an XML Schema definition as a pass-fail filter that rejects elements/attributes that might be from an extension and are not comprehended in the schema definition.  Since you also can't reject ad hoc non-DAV elements and attributes either, one must be careful how the schema definition is written and how/whether schema assessment is applied to material that is received.

In my world, that's not a problem. That's just how it is.  It is a limitation on the applicability of XML Schema to DAV XML documents in request and response bodies.

-- Dennis

-----Original Message-----
From: w3c-dist-auth-request@w3.org
[mailto:w3c-dist-auth-request@w3.org]On Behalf Of Eric Sedlar
Sent: Thursday, October 16, 2003 21:50
To: dennis.hamilton@acm.org; 'Julian Reschke'; 'Stanley Guan';
Subject: RE: DAV Schema Assessment (was Re: rfc2518bis DAV DTD ...)

The problem is that there is no good way to say:
"ignore any element/attribute you don't understand"
in XML Schema.


[ ... ]
Received on Friday, 17 October 2003 14:05:53 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:01:28 UTC