W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > April to June 2010

Re: DAV:privilege element - multiple child elements?

From: Werner Donné <werner.donne@pincette.biz>
Date: Tue, 8 Jun 2010 15:43:25 +0200
Cc: "Weber, Heiko" <Heiko.Weber@softwareag.com>, WebDAV <w3c-dist-auth@w3.org>
Message-Id: <AC8F19C4-4DEB-4750-B68B-91324EB7C470@pincette.biz>
To: Julian Reschke <julian.reschke@gmx.de>
It is not possible with XML Schema, but it is with Relax NG:

http://www.relaxng.org/tutorial-20011203.html#IDAFLZR

Best regards,

Werner.

On 08 Jun 2010, at 14:35, Julian Reschke wrote:

> On 07.06.2010 17:18, Weber, Heiko wrote:
>> How about creating XML Schemas for all WebDAV XML response and request
>> documents, so that it is really clear what is meant? We have created
>> such XML schemas for at least some of the documents when we implemented
>> the WebDAV support in the Tamino XML Server and can share these, if
>> there is some place where they could be put...
>> ...
> 
> Well, we have a DTD and it didn't help.
> 
> Sometimes a schema language can't express all the constraints properly.
> 
> So, can XML Schema define a thing like "must have a single child element, but the element name doesn't matter"?
> 
> Best regards, Julian
> 

--
http://www.pincette.biz/
Handling your documents with care, wherever you are.
Received on Tuesday, 8 June 2010 14:45:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 June 2010 14:45:44 GMT