Implementation ignores ElementSubstitutionGroupBase 
----------------------------------------------------

         Key: TUSCANY-449
         URL: http://issues.apache.org/jira/browse/TUSCANY-449
     Project: Tuscany
        Type: Bug

  Components: C++ SDO  
    Versions: Cpp-current    
 Environment: Windows XP
    Reporter: Simon Laws


Reading xml 

  <tns:ElementSubstitutionGroupExtends>
    
<ElementInSubstitutionGroupBase>ElementInSubstitutionGroupBase</ElementInSubstitutionGroupBase>
    
<ElementInSubstitutionGroupExtends>ElementInSubstitutionGroupExtends</ElementInSubstitutionGroupExtends>
  </tns:ElementSubstitutionGroupExtends>

with schema 

  <complexType name="ComplexTypeSubstitutionGroupBaseType">
    <sequence>
      <element name="ElementInSubstitutionGroupBase" type="string"/>
    </sequence>
  </complexType>
  <element name="ElementSubstitutionGroupBase" 
type="tns:ComplexTypeSubstitutionGroupBaseType"/>
  
   <complexType name="ComplexTypeSubstitutionGroupExtendsType">
    <complexContent>
      <extension base="tns:ComplexTypeSubstitutionGroupBaseType">
        <sequence>
          <element name="ElementInSubstitutionGroupExtends" type="string"/>
        </sequence>
      </extension>
    </complexContent>
  </complexType>
  <element name="ElementSubstitutionGroupExtends" 
type="tns:ComplexTypeSubstitutionGroupExtendsType" 
substitutionGroup="tns:ElementSubstitutionGroupBase"/>

And writing out gives rise to no output for this element




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to