Sha256: c4128ba77f8cc7c689c2b79a380cf9a144d54957cedfa05ff0ba873384230e53

Contents?: true

Size: 1.7 KB

Versions: 19

Compression:

Stored size: 1.7 KB

Contents

<?xml version="1.0" encoding="iso-8859-1" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">

  <xs:import namespace="http://xml4r.org/ibxml-ruby/test/shiporder"
             schemaLocation="shiporder_import.xsd"/>

  <xs:element name="shiporder" type="shiporderType"/>

  <xs:complexType name="shiporderType">
    <xs:annotation>
      <xs:documentation>Shiporder type documentation</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="orderperson" type="xs:string">
        <xs:annotation>
          <xs:documentation>orderperson element documentation</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="shipto">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="name" type="xs:string"/>
            <xs:element name="address" type="xs:string"/>
            <xs:element name="city" type="xs:string"/>
            <xs:element name="country" type="xs:string"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="item" maxOccurs="unbounded">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="title" type="xs:string"/>
            <xs:element name="note" type="xs:string" minOccurs="0"/>
            <xs:element name="quantity" type="xs:positiveInteger"/>
            <xs:element name="price" type="xs:decimal"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="orderid" type="xs:string" use="required"/>
    <xs:attribute name="foo" default="1" type="xs:integer" use="optional"/>
    <xs:attribute name="bar" use="prohibited"/>
  </xs:complexType>
</xs:schema>

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
libxml-ruby-5.0.3-x64-mingw-ucrt test/model/shiporder.xsd
libxml-ruby-5.0.3 test/model/shiporder.xsd
libxml-ruby-5.0.2-x64-mingw-ucrt test/model/shiporder.xsd
libxml-ruby-5.0.2 test/model/shiporder.xsd
libxml-ruby-5.0.1-x64-mingw-ucrt test/model/shiporder.xsd
libxml-ruby-5.0.1 test/model/shiporder.xsd
libxml-ruby-5.0.0-x64-mingw-ucrt test/model/shiporder.xsd
libxml-ruby-5.0.0 test/model/shiporder.xsd
libxml-ruby-4.1.2-x64-mingw-ucrt test/model/shiporder.xsd
libxml-ruby-4.1.2 test/model/shiporder.xsd
libxml-ruby-4.1.1-x64-mingw-ucrt test/model/shiporder.xsd
libxml-ruby-4.1.1 test/model/shiporder.xsd
libxml-ruby-4.1.0 test/model/shiporder.xsd
libxml-ruby-4.0.0-x64-mingw-ucrt test/model/shiporder.xsd
libxml-ruby-4.0.0 test/model/shiporder.xsd
libxml-ruby-3.2.4-x64-mingw-ucrt test/model/shiporder.xsd
libxml-ruby-3.2.4 test/model/shiporder.xsd
libxml-ruby-3.2.3-x64-mingw-ucrt test/model/shiporder.xsd
libxml-ruby-3.2.3 test/model/shiporder.xsd