S
Soren Kuula
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
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