Author Topic: XSD Schema Profile  (Read 1772 times)

steve.capell

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
XSD Schema Profile
« on: September 09, 2006, 04:44:34 pm »
I am wondering how to force Schema generation of elements within complex types to use global types rather than xsd references when using types from an imported module.  For example, EA generates:

<xs:complexType name="BCCResponse">
 <xs:sequence>
   <xs:element name="BatchResultsPending" type="xs:boolean"/>
       <xs:element name="StatusCode">
           <xs:complexType>
              <xs:sequence>    <xs:element ref="cdt:BatchComputerStatusCode"/>
</xs:sequence>
           </xs:complexType>
      </xs:element>
   </xs:sequence>
</xs:complexType>

But I want:

<xs:complexType name="BCCResponse">
 <xs:sequence>
   <xs:element name="BatchResultsPending" type="xs:boolean"/>
       <xs:element name="StatusCode"
type="cdt:BatchComputerStatusCode"/>
   </xs:sequence>
</xs:complexType>

Note that the type "cdt:BatchComputerStatusCode" is from another namespace and is a complex type definition in the imported module.