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


Help: OASIS Mailing Lists Help | MarkMail Help



   What's wrong w/ nested elements?

[ Lists Home | Date Index | Thread Index ]
  • To: <xml-dev@lists.xml.org>
  • Subject: What's wrong w/ nested elements?
  • From: "Jain, Rajnish" <rjain@xl.com>
  • Date: Mon, 7 Jun 2004 08:36:19 -0400
  • Thread-index: AcRMjAheaP707llBQmCicDgGo4k9NQ==
  • Thread-topic: What's wrong w/ nested elements?

Title: What's wrong w/ nested elements?


The following example shows the same element (b) contained inside elements (a1) and (a2).


When I try to create an XSD for this XML using Microsoft Development Environment 7.1, I get
the following error:

Failed to Create a schema for this data file because:
Although this XML document is well formed, it contains structure that Data View cannot display.
The same table (b) cannot be the child table in two nested relations.

Wondering why the containment relationship shown above is not valid for an XSD? And what can
I do to workaround this problem (I can't afford to name mangle (b) everywhere it appears).

Rajnish Jain



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

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