Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: XML Schema EDC, UPA and substitution groups XML Schema EDC, UPA and substitution groupsTo: NULL Date: 2/2/2006 1:06:00 AM Hi,
Does anyone happen to know whether this is legal:
<complexType name= ...>
<choice>
<element ref="foo"/>
<element ref="bar"/>
</choice>
</complexType>
<!-- nice enough so far... -->
<element name="foo" type=... substitutionGroup="bar"/>
<element name="bar" type=.../>
Problem: If bar is susbsted by foo, then EDC is violated.... hehehe --
Wonder is this is explicitly prohibited somehow?
Also, does anyone know why they required that the type of foo be derived
from that of bar, and is it true that it must be in ONE or more steps
(not zero or more?)
Soren
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
