Re: DAV:privilege element - multiple child elements?

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 UTC