OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Anonymous content types (WAS: Re: XML trade off 1 - DTD vs XML Schem

[ Lists Home | Date Index | Thread Index ]
  • From: "Rick Jelliffe" <ricko@allette.com.au>
  • To: "'XML Dev'" <xml-dev@ic.ac.uk>
  • Date: Thu, 22 Jul 1999 02:41:13 +0800


From: John E. Simpson <simpson@polaris.net>

>So (acknowledging that you mean it to apply only to XML schemas, and
that
>the following examples don't conform to legitimate XML DTD syntax)
you're
>suggesting element content models such as:
>
> <!ELEMENT king SINGLE >
>
>(The king element may contain any other single element)

Good examples.

> <!ELEMENT hands PAIR >
>
>(The hands element may contain any *pair* of other elements)
>
> <ELEMENT citizens UNIQUE >
>
>(The citizens element may contain any number of child elements, but
each
>child may appear only once within the citizens element)

Or maybe these could be split into SET and BAG in RDF fashion.

>Like that? These would all be subtypes of ANY, no?

If you like subtyping, sure. If you like extensibility, then I suppose
they
are extensions of EMPTY.

Rick Jelliffe


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS