W3C home > Mailing lists > Public > xmlschema-dev@w3.org > February 2003

Re: ambiguous content model - yea or nay?

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 11 Feb 2003 23:01:11 +0000
To: "Paul Kiel" <paul@hr-xml.org>
Cc: <xmlschema-dev@w3.org>
Message-ID: <f5bsmuujubs.fsf@erasmus.inf.ed.ac.uk>

"Paul Kiel" <paul@hr-xml.org> writes:

> Question all,
> 
> I am getting an "ambiguous content model" error when validating an instance conforming to this schema:
> 
> <xsd:complexType>
>      <xsd:sequence maxOccurs="unbounded">
>           <xsd:element name="AvailabilityStartDate" type="AnyDateTimeNkType" minOccurs="0"/>
>           <xsd:element name="AvailabilityEndDate" type="AnyDateTimeNkType" minOccurs="0"/>
>      </xsd:sequence>
> </xsd:complexType>

Looks OK to me, unless there are some substitution groups hidden
elsewhere.

ht
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
                      Half-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
		     URL: http://www.ltg.ed.ac.uk/~ht/
 [mail really from me _always_ has this .sig -- mail without it is forged spam]
Received on Tuesday, 11 February 2003 18:01:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:36 GMT