- From: Eric van der Vlist <vdv@dyomedea.com>
- Date: Wed, 20 Dec 2000 15:51:43 +0100
- To: "C. M. Sperberg-McQueen" <cmsmcq@acm.org>
- CC: www-xml-schema-comments@w3.org
"C. M. Sperberg-McQueen" wrote: > > Since you don't have minimum numbers of occurrences, and don't > want to constrain the order, is there anything wrong with > > <xsd:element name="channel" content="elementOnly"> > <xsd:complexType> > <xsd:sequence> > <xsd:element name="title" type="xsd:string"/> > <xsd:element name="link" type="xsd:uriReference"/> > .../... > <xsd:choice minOccurs="0" maxOccurs="unbounded"> > <xsd:group ref="rss091:inChannel" minOccurs="0"/> > <xsd:group ref="dc:dcElements" minOccurs="0"/> > </xsd:choice> > </xsd:sequence> > <xsd:attribute ref="rdf:about"/> > </xsd:complexType> > </xsd:element> > > I.e. a repeating OR group? As people who are defining the core and including external modules, no we don't have to constrain the occurences, but the folks who will define the modules will want to be able to do it will not ne expecting that the groups of elements they will define can be repeated. Anyway, that's no longer an issue for us since the RSS WG has decided that the order of the elements in RSS 1.0 is not significant meaning that we won't be able to use W3C XML Schema straight away without a prior transformation of our documents. Thanks for your answer. Eric > -C M Sperberg-McQueen -- ------------------------------------------------------------------------ Eric van der Vlist Dyomedea http://dyomedea.com http://xmlfr.org http://4xt.org http://ducotede.com ------------------------------------------------------------------------
Received on Wednesday, 20 December 2000 09:51:27 UTC