File: issue_259-2.xsd

package info (click to toggle)
python-xmlschema 4.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,208 kB
  • sloc: python: 39,174; xml: 1,282; makefile: 36
file content (42 lines) | stat: -rw-r--r-- 1,432 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?xml version="1.0"?>
<xs:schema
  xmlns:xs="http://www.w3.org/2001/XMLSchema"
  xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
  elementFormDefault="qualified"
  vc:minVersion="1.1">

  <xs:redefine schemaLocation="issue_259-1.xsd">
    <xs:complexType name="ConfigurationType">
      <xs:complexContent>
        <xs:extension base="ConfigurationType">
          <xs:all>
            <xs:element name="MyProtDefault" type="CustomProtocolDefault" minOccurs="0" maxOccurs="1"/>
          </xs:all>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>


    <xs:complexType name="redChannelType">
      <xs:complexContent>
        <xs:extension base="redChannelType">
          <xs:all>
            <xs:element name="MyProt" type="CustomProtocol" minOccurs="0" maxOccurs="1"/>
          </xs:all>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:redefine>


  <xs:complexType name="CustomProtocolDefault">
        <xs:attribute name="interfaceIdentifier" use="optional" type="xs:unsignedByte"/>
        <xs:attribute name="outgoingDirectionIdentifier" use="optional" type="xs:unsignedByte"/>
  </xs:complexType>

    <xs:complexType name="CustomProtocol">
        <xs:attribute name="interfaceIdentifier" use="optional" type="xs:unsignedByte"/>
        <xs:attribute name="outgoingDirectionIdentifier" use="optional" type="xs:unsignedByte"/>
  </xs:complexType>

</xs:schema>