RE: Substitution groups & local elements

Claude--

I don't know the answer to your question, but am very interested in it.  Am
I correct that you are asking (relative to Substitution Groups):

If A = B
and
   A = C
does
   B = C?

Right?

--Tom

< -----Original Message-----
< From: xmlschema-dev-request@w3.org
< [mailto:xmlschema-dev-request@w3.org]On Behalf Of Claude Seyrat
< Sent: Wednesday, November 14, 2001 10:22 AM
< To: xmlschema-dev@w3.org
< Subject: Substitution groups & local elements
<
<
<
< Dear All,
<
< I have the following question related to Substitution
< groups & locally defined elements.
<
< Are the elements "memberOfTheSG" & "otherMemberOfTheSG"
< well defined ?
<
< <element name="SGHead" type="integer"/>
<
< <simpleType name="smallInt">
<  <minExclusive value="0"/>
<  <maxExclusive value="10"/>
< </simpleType>
<
<
< <element name="anElt">
<  <complexType>
<   <complexContent>
<    <element name="memberOfTheSG" type="smallint"
< 	substitutionGroup="SGHead"/>
<   </complexContent>
<  </complexType>
< </element>
<
< <element name="anOtherElt">
<  <complexType>
<   <complexContent>
<    <element name="otherMemberOfTheSG" type="verysmallint"
< 	substitutionGroup="SGHead"/>
<   </complexContent>
<  </complexType>
< </element>
<
< If it's the case, are "otherMemberOfTheSG" and "memberOfTheSG"
< substitutable ?
<
< <anElt>
<   <otherMemberOfTheSG>8</otherMemberOfTheSG>
< </anElt>
<
< Where can I find the rules in the spec ?
<
< Thank you for your help.
<
< Best regards,
< Claude.
<
<
<
< --
< ______________________________________________
<
< Claude Seyrat
<
< Expway c/o Acland
< 18 avenue Georges V
< 75008 Paris
< tel: 33 1 56 62 11 06 **new**
< fax: 33 1 56 62 11 11
< mail: claude.seyrat@expway.tv
<
<
<

Received on Wednesday, 14 November 2001 11:30:58 UTC