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

RE: referencing a schema fails

From: Priscilla Walmsley <priscilla@walmsley.com>
Date: Tue, 5 Aug 2003 19:30:41 -0400
To: <jhaber@haberarts.com>
Cc: <xmlschema-dev@w3.org>
Message-ID: <000701c35ba9$961009e0$ef2efea9@WALMSLEYPH>


The content of whatever element contains the "heading" element does not
match the declared type.  It's hard to say what's wrong without seeing
the instance, but note that it is expecting the elements to appear in
the order they are declared: intro, section, heading, para.  It is
probably because either intro or section is missing, or heading appears
before one of them.  


Priscilla Walmsley             priscilla@walmsley.com
Author, Definitive XML Schema     (Prentice Hall PTR)

> -----Original Message-----
> From: John Haber [mailto:jhaber@haberarts.com] 
> Sent: Tuesday, August 05, 2003 7:21 PM
> To: Priscilla Walmsley
> Cc: xmlschema-dev@w3.org
> Subject: RE: referencing a schema fails
> >>You don't need to extend xsd:string, you just need regular old mixed
> content<<
> So for once I get away without typing a bit of data.
> I must at last have cleaned up the entirety of the elements, thanks to
> everyone's help.  Now the sole error, not listed before, 
> takes me back to
> what brought me to this group.  Alas, now I get again a 
> problem right in the
> heading:
> Invalid content starting with element 'heading'. The content 
> must match
> '(((("http://www.w3schools.com":intro){1-UNBOUNDED},("http://w

Seen this one?  I'm sure.
Received on Tuesday, 5 August 2003 19:30:55 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:03 UTC