File: BadIdentityConstraintDefinition.xsd

package info (click to toggle)
eclipse-xsd 2.22.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 10,592 kB
  • sloc: java: 61,426; xml: 1,818; makefile: 5
file content (122 lines) | stat: -rw-r--r-- 4,036 bytes parent folder | download | duplicates (5)
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<?xml version="1.0" encoding="UTF-8"?>
<!--
/**
 */
-->
<xsd:schema
  targetNamespace="http://www.example.com/Bad"
  xmlns:this="http://www.example.com/Bad" 
  xmlns:xsd="http://www.w3.org/2001/XMLSchema">

    <xsd:element name="badKeys">
        <xsd:complexType>
            <xsd:choice>
                <xsd:element name="x"/>
            </xsd:choice>
        </xsd:complexType>
        <xsd:key/>
        <xsd:key name="badKeyAttribute" x="x"/>
        <xsd:key name="badKeyID" id="id:badKeyID"/>
        <xsd:key name="badKeyAnnotation">
            <xsd:annotation/>
            <xsd:annotation/>
        </xsd:key>
        <xsd:key name="badKeyNoField">
            <xsd:selector/>
        </xsd:key>
        <xsd:key name="badKeyEmptySelectorAndField">
            <xsd:selector x="x"/>
            <xsd:field x="x"/>
        </xsd:key>
        <xsd:key name="badKeyXPaths">
            <xsd:selector xpath="1"/>
            <xsd:field xpath="2"/>
        </xsd:key>
        <xsd:key name="badKeySelectorFieldContents">
            <xsd:selector xpath="x">
                <xsd:annotation/>
                <xsd:annotation/>
            </xsd:selector> 
            <xsd:field xpath=".">
                <xsd:annotation/>
                <xsd:annotation/>
            </xsd:field> 
        </xsd:key>
    </xsd:element>

    <xsd:element name="badUniques">
        <xsd:complexType>
            <xsd:choice>
                <xsd:element name="x"/>
            </xsd:choice>
        </xsd:complexType>
        <xsd:unique/>
        <xsd:unique name="badUniqueAttribute" x="x"/>
        <xsd:unique name="badUniqueID" id="id:badUniqueID"/>
        <xsd:unique name="badUniqueAnnotation">
            <xsd:annotation/>
            <xsd:annotation/>
        </xsd:unique>
        <xsd:unique name="badUniqueNoField">
            <xsd:selector/>
        </xsd:unique>
        <xsd:unique name="badUniqueEmptySelectorAndField">
            <xsd:selector x="x"/>
            <xsd:field x="x"/>
        </xsd:unique>
        <xsd:unique name="badUniqueXPaths">
            <xsd:selector xpath="1"/>
            <xsd:field xpath="2"/>
        </xsd:unique>
        <xsd:unique name="badUniqueSelectorFieldContents">
            <xsd:selector xpath="x">
                <xsd:annotation/>
                <xsd:annotation/>
            </xsd:selector> 
            <xsd:field xpath=".">
                <xsd:annotation/>
                <xsd:annotation/>
            </xsd:field> 
        </xsd:unique>
    </xsd:element>

    <xsd:element name="badKeyRefs">
        <xsd:complexType>
            <xsd:choice>
                <xsd:element name="x"/>
            </xsd:choice>
        </xsd:complexType>
        <xsd:keyref/>
        <xsd:keyref name="badKeyRefAttribute" refer="this:badKeyAttribute" x="x"/>
        <xsd:keyref name="badKeyRefID" refer="this:badKeyID" id="id:badKeyRefID"/>
        <xsd:keyref name="badKeyRefAnnotation" refer="this:badKeyAnnotation" >
            <xsd:annotation/>
            <xsd:annotation/>
        </xsd:keyref>
        <xsd:keyref name="badKeyRefNoField" refer="this:badKeyNoField">
            <xsd:selector/>
        </xsd:keyref>
        <xsd:keyref name="badKeyRefEmptySelectorAndField" refer="this:badKeyEmptySelectorAndField">
            <xsd:selector x="x"/>
            <xsd:field x="x"/>
        </xsd:keyref>
        <xsd:keyref name="badKeyRefXPaths" refer="this:badKeyXPaths">
            <xsd:selector xpath="1"/>
            <xsd:field xpath="2"/>
        </xsd:keyref>
        <xsd:keyref name="badKeyRefSelectorFieldContents" refer="this:badKeySelectorFieldContents">
            <xsd:selector xpath="x">
                <xsd:annotation/>
                <xsd:annotation/>
            </xsd:selector> 
            <xsd:field xpath=".">
                <xsd:annotation/>
                <xsd:annotation/>
            </xsd:field> 
            <xsd:field xpath=".">
                <xsd:annotation/>
            </xsd:field> 
        </xsd:keyref>
    </xsd:element>

</xsd:schema>