Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: emptiable content in particle inheritance

From: Tobias Koenig <tobias.koenig@---------.--->
To: xmlschema-dev@--.---
Date: 2/3/2009 11:56:00 AM
On Monday 02 February 2009 21:47:25 Pete Cordell wrote:
Hej,

> Isn't there something about "if an element has a maxOccurs = 0, then it is 
> nothing at all", i.e. it does not exist.  If so, the second schema becomes:
> 
> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> <xsd:element name="doc" type="foo"/>
> <xsd:complexType name="foo">
>   <xsd:choice>
>     <xsd:element name="e2"/>
>   </xsd:choice>
> </xsd:complexType>
> </xsd:schema>
> 
> which requires an e2 child does it not?
Ok, that was the rule I missed :)
Thanks to everyone who gave some insight on that topic!

Ciao,
Tobias

From davidfeustel@c... Tue Feb 03 10:48:17 2009
Received: f


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent