ComplexTypeOpenContent output element type incorrect 
-----------------------------------------------------

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

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


Reading 

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

With schema 

  <complexType name="ComplexTypeOpenContentType">
    <sequence>
      <any namespace="##any"/>
    </sequence>
  </complexType>  

Gets written as

        <ComplexTypeOpenContent>
                <ElementSubstitutionGroupExtends
                        xsi:type="ComplexTypeSubstitutionGroupBaseType">
                        <ElementInSubstitutionGroupBase>
                                ElementInSubstitutionGroupBase
                        </ElementInSubstitutionGroupBase>
                </ElementSubstitutionGroupExtends>
        </ComplexTypeOpenContent>

Where the type indicated is the base of the substitution group

-- 
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