W3C home > Mailing lists > Public > xmlschema-dev@w3.org > January 2002

RE: Unexpected Child Element

From: Ashok Malhotra <ashokma@microsoft.com>
Date: Wed, 30 Jan 2002 06:03:06 -0800
Message-ID: <E5B814702B65CB4DA51644580E4853FB019EE814@red-msg-12.redmond.corp.microsoft.com>
To: "Neill Smith" <smith_neill@hotmail.com>, <xmlschema-dev@w3.org>
The structure in the XML instance does not match the Schema.
Specifically, for some element a child element appears in a position
that the Schema does not allow.

All the best, Ashok 
===========================================================
Ashok Malhotra              <mailto: ashokma@microsoft.com> 
Microsoft Corporation

-----Original Message-----
From: Neill Smith [mailto:smith_neill@hotmail.com] 
Sent: Wednesday, January 30, 2002 3:01 AM
To: xmlschema-dev@w3.org
Subject: Unexpected Child Element

Can somebody please explain what Unexpected child element means?

I have an XML file (well formed) and an XSD file which is well formed
and 
valid.

When I check if the XML file is valid it get so far then tells me that
an 
Unexpected child element has been found.  What does this mean?  How do I

correct my XML?

Thanks in advance.

N.

_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx
Received on Wednesday, 30 January 2002 09:13:25 GMT

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