~clint-fewbar/ubuntu/precise/erlang/merge-15b

« back to all changes in this revision

Viewing changes to lib/xmerl/test/xmerl_xsd_SUITE_data/small.xsd

  • Committer: Package Import Robot
  • Author(s): Sergei Golovan
  • Date: 2011-12-15 19:20:10 UTC
  • mfrom: (1.1.18) (3.5.15 sid)
  • mto: (3.5.16 sid)
  • mto: This revision was merged to the branch mainline in revision 33.
  • Revision ID: package-import@ubuntu.com-20111215192010-jnxcfe3tbrpp0big
Tags: 1:15.b-dfsg-1
* New upstream release.
* Upload to experimental because this release breaks external drivers
  API along with ABI, so several applications are to be fixed.
* Removed SSL patch because the old SSL implementation is removed from
  the upstream distribution.
* Removed never used patch which added native code to erlang beam files.
* Removed the erlang-docbuilder binary package because the docbuilder
  application was dropped by upstream.
* Documented dropping ${erlang-docbuilder:Depends} substvar in
  erlang-depends(1) manpage.
* Made erlang-base and erlang-base-hipe provide virtual package
  erlang-abi-15.b (the number means the first erlang version, which
  provides current ABI).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<xsd:schema
 
2
      targetNamespace="small"
 
3
      xmlns:sm="small" 
 
4
      xmlns:xsd="http://www.w3.org/2001/XMLSchema">
 
5
 
 
6
  <xsd:annotation>
 
7
    <xsd:documentation xml:lang="en">
 
8
     Purchase order schema for Example.com.
 
9
     Copyright 2000 Example.com. All rights reserved.
 
10
    </xsd:documentation>
 
11
  </xsd:annotation>
 
12
 
 
13
  <xsd:element name="purchaseOrder" type="sm:PurchaseOrderType"/>
 
14
 
 
15
  <xsd:element name="comment" type="xsd:string"/>
 
16
 
 
17
  <xsd:complexType name="PurchaseOrderType" mixed="true">
 
18
    <xsd:simpleContent>
 
19
      <xsd:extension base="xsd:string">
 
20
        <xsd:attribute name="orderDate" type="xsd:date"/>
 
21
        <xsd:attribute name="orderStatus" type="xsd:string" default="new"/>
 
22
      </xsd:extension>
 
23
    </xsd:simpleContent>
 
24
  </xsd:complexType>
 
25
 
 
26
  <complexType name="own1">
 
27
    <complexContent>
 
28
      <restriction base="xsd:anyType">
 
29
        <attribute name="number"   type="xsd:integer"/>
 
30
        <attribute name="quantity" type="xsd:positiveInteger"/>
 
31
      </restriction>
 
32
    </complexContent>
 
33
  </complexType>
 
34
 
 
35
  <complexType name="PartsType">
 
36
    <sequence>
 
37
      <element name="part" maxOccurs="unbounded">
 
38
        <complexType>
 
39
          <simpleContent>
 
40
            <extension base="xsd:string">
 
41
              <attribute name="number" type="xsd:integer"/>
 
42
            </extension>
 
43
          </simpleContent>
 
44
        </complexType>
 
45
      </element>
 
46
    </sequence>
 
47
  </complexType>
 
48
 
 
49
<simpleType name="listOfMyIntType">
 
50
  <list itemType="xsd:integer"/>
 
51
</simpleType>
 
52
 
 
53
<simpleType name="SixUSStates">
 
54
  <restriction base="sm:listOfMyIntType">
 
55
    <length value="6"/>
 
56
  </restriction>
 
57
</simpleType>
 
58
 
 
59
</xsd:schema>
 
60