Re: DAV:privilege element - multiple child elements?
Werner Donné <[email protected]> Tue, 8 Jun 2010 15:43:25 +0200
| Newsgroups | gmane.ietf.webdav |
|---|---|
| Message-ID | <[email protected]> |
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.