File: SAXTestComplexMain.xsd

package info (click to toggle)
libjdom1-java 1.1.3-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 2,740 kB
  • sloc: java: 21,155; xml: 1,377; sh: 73; perl: 31; makefile: 17
file content (25 lines) | stat: -rw-r--r-- 921 bytes parent folder | download | duplicates (10)
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
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns="http://www.jdom.org/tests/default"
        xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.jdom.org/tests/default"
        xmlns:imp="http://www.jdom.org/tests/imp" 
        elementFormDefault="qualified">

  <!--          xmlns:tns="http://www.jdom.org/tests/default"
       -->
  <xs:import namespace="http://www.jdom.org/tests/imp" schemaLocation="./SAXTestComplexImport.xsd" />
  
  <xs:element name="test">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="data" minOccurs="1" maxOccurs="unbounded">
          <xs:complexType>
            <xs:attribute name="type"/>
            <xs:attributeGroup ref="imp:simpleAG"/>
            <xs:attribute name="mainxs" default="mainval" form="qualified"/>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>

</xs:schema>