[Home] [By Thread] [By Date] [Recent Entries]

  • To: "Bryce K. Nielsen" <bryce@s...>,<xml-dev@l...>
  • Subject: RE: What's wrong w/ nested elements?
  • From: "Jain, Rajnish" <rjain@x...>
  • Date: Mon, 7 Jun 2004 16:24:50 -0400
  • Thread-index: AcRMxPgQHdS+urEWQ4GT8z+p9WWTywACG94w
  • Thread-topic: What's wrong w/ nested elements?

Actually, it wouldn't accept that either, it's just the parser errored
out on the <b> element before it could find a <c> element. There is no
way to do this within VisualStudio, it's a limitation within the tool.
They are trying to make the schema fit into a relational model, which
means imposing limitations on the schema language.

<RJ>
I noticed the problem is specifically w/ complex elements (such as <b>)
that have their own children. Such elements map to their own relational
tables. However, simple elements (such as <c>) are merely members of
other relational tables and probably that's why the tool doesn't mind
their reuse under different parents.
</RJ> 

-----Original Message-----
From: Bryce K. Nielsen [mailto:bryce@s...] 
Sent: Monday, June 07, 2004 3:23 PM
To: xml-dev@l...
Subject: Re:  What's wrong w/ nested elements?

> The tool is okay w/ element (c) being contained under more than one 
> parent. And even (b) can be present more than once under either (a1) 
> or
> (a2) but not under both (a1) and (a2)simultaneously.
>

Actually, it wouldn't accept that either, it's just the parser errored
out on the <b> element before it could find a <c> element. There is no
way to do this within VisualStudio, it's a limitation within the tool.
They are trying to make the schema fit into a relational model, which
means imposing limitations on the schema language.

Bryce K. Nielsen
SysOnyx, Inc. (www.sysonyx.com)
Makers of xmlArchitect, the Smart XML Schema Editor
http://www.sysonyx.com/products/xmlarchitect



-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
initiative of OASIS <http://www.oasis-open.org>

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager: <http://www.oasis-open.org/mlmanage/index.php>


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member