Package

For each Business Object Model Package encountered during the export transformation, a new separate XSD file will be created. Similar to the UML Construct, the Package name is used to define the XSD filename and target namespace.

If the following package exists in the Model com.example.businessobjectmodel1:

Then two schema files will be generated:

  • com.example.businessobjectmodel1.xsd (as above)
  • A separate xsd file will be generated to represent the package called:

    com.example.businessobjectmodel1.comexamplewwwstockcheck.xsd

    with the following namespace information:

    <xsd:schema
     xmlns="http://example.com/businessobjectmodel1/comexamplewwwstockcheck"
      xmlns:tns1="http://example.com/businessobjectmodel1/comexamplewwwstockcheck"
      xmlns:xsd="http://www.w3.org/2001/XMLSchema"
      targetNamespace="http://example.com/businessobjectmodel1/comexamplewwwstockcheck">
     <xsd:annotation>
      <xsd:documentation>BOMORIGIN::/p1/Business Objects/BusinessObjectModel1.bom</xsd:documentation>
      </xsd:annotation>
    </xsd:schema>

    Furthermore, the com.example.businessobjectmodel1.xsd schema will contain an <import> construct referencing com.example.businessobjectmodel1.comexamplewwwstockcheck.xsd

that is:

<xsd:schema xmlns="http://example.com/businessobjectmodel1"
  xmlns:tns2="http://example.com/businessobjectmodel1"
 xmlns:tns1="http://example.com/businessobjectmodel1/comexamplewwwstockcheck"
 xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://example.com/businessobjectmodel1">
  <xsd:annotation>
  <xsd:documentation>BOMORIGIN::/p1/Business
 Objects/BusinessObjectModel1.bom</xsd:documentation>
  </xsd:annotation>
  <xsd:import
 namespace="http://example.com/businessobjectmodel1/comexamplewwwstockcheck"
 schemaLocation="com.example.businessobjectmodel1.comexamplewwwstockcheck.xsd" />
</xsd:schema>