xref: /PHP-8.2/ext/xmlreader/tests/bug73053.xsd (revision 326a4e38)
1<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
2            targetNamespace="urn:books"
3            xmlns:bks="urn:books">
4
5  <xsd:element name="books" type="bks:BooksForm"/>
6
7  <xsd:complexType name="BooksForm">
8    <xsd:sequence>
9      <xsd:element name="book"
10                  type="bks:BookForm"
11                  minOccurs="0"
12                  maxOccurs="unbounded"/>
13      </xsd:sequence>
14  </xsd:complexType>
15
16  <xsd:complexType name="BookForm">
17    <xsd:sequence>
18      <xsd:element name="author"   type="xsd:string"/>
19      <xsd:element name="title"    type="xsd:string"/>
20      <xsd:element name="genre"    type="xsd:string"/>
21      <xsd:element name="price"    type="xsd:float" />
22      <xsd:element name="pub_date" type="xsd:date" />
23      <xsd:element name="review"   type="xsd:string"/>
24    </xsd:sequence>
25    <xsd:attribute name="id"   type="xsd:positiveInteger"/>
26  </xsd:complexType>
27</xsd:schema>
28