/usr/share/lttoolbox/dix.xsd is in lttoolbox-dev 3.3.3~r68466-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 | <?xml version="1.0" encoding="UTF-8"?>
<!-- DTD for the format of dictionaries -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xs:element name="dictionary">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" ref="alphabet"/>
<xs:element minOccurs="0" ref="sdefs"/>
<xs:element minOccurs="0" ref="pardefs"/>
<xs:element maxOccurs="unbounded" ref="section"/>
</xs:sequence>
</xs:complexType>
<xs:keyref name="symbolNameRef" refer="symbol_name">
<xs:selector xpath=".//s" />
<xs:field xpath="@n" />
</xs:keyref>
<xs:key name="symbol_name">
<xs:selector xpath=".//sdef" />
<xs:field xpath="@n" />
</xs:key>
<!--
Commented out since it reports an error on entries having the
ignore attribute (@i) set to 'yes'.
Though, we should perhaps consider to differentiate ignoring a dictionary
in compilation vs. dictionary consistency.
<xs:keyref name="parNameRef" refer="paradigm_name">
<xs:selector xpath=".//par" />
<xs:field xpath="@n" />
</xs:keyref>
<xs:key name="paradigm_name">
<xs:selector xpath=".//pardef" />
<xs:field xpath="@n" />
</xs:key>
-->
</xs:element>
<!-- root element -->
<xs:element name="alphabet" type="xs:string"/>
<!-- alphabetic character list -->
<xs:element name="sdefs">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" ref="sdef"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<!-- symbol definition section -->
<xs:element name="sdef">
<xs:complexType>
<xs:attribute name="n" use="required"/>
<xs:attribute name="c"/>
</xs:complexType>
<xs:unique name="sdef-unique">
<xs:selector xpath="sdef"/>
<xs:field xpath="@n" />
</xs:unique>
</xs:element>
<!-- symbol definition -->
<!-- n: symbol (tag) name -->
<!-- c: symbol (tag) comment -->
<xs:element name="pardefs">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" ref="pardef"/>
</xs:sequence>
</xs:complexType>
<xs:unique name="pardef-unique">
<xs:selector xpath="pardef"/>
<xs:field xpath="@n" />
</xs:unique>
</xs:element>
<!-- paradigm definition section -->
<xs:element name="pardef">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" ref="e"/>
</xs:sequence>
<xs:attribute name="n" use="required"/>
<xs:attribute name="c"/>
</xs:complexType>
</xs:element>
<!-- paradigm definition -->
<!-- n: paradigm name -->
<!-- c: comment about paradigm -->
<xs:element name="section">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" ref="e"/>
</xs:sequence>
<xs:attribute name="id" use="required" type="xs:ID"/>
<xs:attribute name="type" use="required">
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="standard"/>
<xs:enumeration value="inconditional"/>
<xs:enumeration value="postblank"/>
<xs:enumeration value="preblank"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<!-- dictionary section -->
<!-- id: dictionary section identifier -->
<!-- type: dictionary section type -->
<xs:element name="e">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element ref="f"/>
<xs:element ref="i"/>
<xs:element ref="p"/>
<xs:element ref="par"/>
<xs:element ref="re"/>
</xs:choice>
<xs:attribute name="r">
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="LR"/>
<xs:enumeration value="RL"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="lm"/>
<xs:attribute name="a"/>
<xs:attribute name="c"/>
<xs:attribute name="i"/>
<xs:attribute name="slr"/>
<xs:attribute name="srl"/>
<xs:attribute name="alt"/>
<xs:attribute name="v"/>
<xs:attribute name="vl"/>
<xs:attribute name="vr"/>
</xs:complexType>
</xs:element>
<!-- entry -->
<!--
r: restriction LR: left-to-right,
RL: right-to-left
-->
<!-- lm: lemma -->
<!-- a: author -->
<!-- c: comment -->
<!-- i: ignore ('yes') means ignore, otherwise it is not ignored) -->
<!-- slr: translation sense when translating from left to right -->
<!-- srl: translation sense when translating from right to left -->
<xs:element name="par">
<xs:complexType>
<xs:attribute name="n" use="required"/>
</xs:complexType>
</xs:element>
<!-- reference to paradigm -->
<!-- n: paradigm name -->
<xs:element name="i">
<xs:complexType mixed="true">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="b"/>
<xs:element ref="s"/>
<xs:element ref="g"/>
<xs:element ref="j"/>
<xs:element ref="a"/>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="f">
<xs:complexType mixed="true">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="b"/>
<xs:element ref="s"/>
<xs:element ref="g"/>
<xs:element ref="j"/>
<xs:element ref="a"/>
</xs:choice>
</xs:complexType>
</xs:element>
<!-- identity -->
<xs:element name="re" type="xs:string"/>
<!-- regular expression identification -->
<xs:element name="p">
<xs:complexType>
<xs:sequence>
<xs:element ref="l"/>
<xs:element ref="r"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<!-- pair of strings -->
<xs:element name="l">
<xs:complexType mixed="true">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="a"/>
<xs:element ref="b"/>
<xs:element ref="g"/>
<xs:element ref="j"/>
<xs:element ref="s"/>
</xs:choice>
</xs:complexType>
</xs:element>
<!-- left part of p -->
<xs:element name="r">
<xs:complexType mixed="true">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="a"/>
<xs:element ref="b"/>
<xs:element ref="g"/>
<xs:element ref="j"/>
<xs:element ref="s"/>
</xs:choice>
</xs:complexType>
</xs:element>
<!-- right part of p -->
<xs:element name="a">
<xs:complexType/>
</xs:element>
<!-- post-generator wake-up mark -->
<xs:element name="b">
<xs:complexType/>
</xs:element>
<!-- blank chars block mark -->
<xs:element name="g">
<xs:complexType mixed="true">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="a"/>
<xs:element ref="b"/>
<xs:element ref="j"/>
<xs:element ref="s"/>
</xs:choice>
<xs:attribute name="i"/>
</xs:complexType>
</xs:element>
<!-- mark special groups in lemmas -->
<!-- i is used to co-index groups in the left with those -->
<!-- on the right of a pair -->
<xs:element name="j">
<xs:complexType/>
</xs:element>
<!-- join lexical forms -->
<xs:element name="s">
<xs:complexType>
<xs:attribute name="n" use="required"/>
</xs:complexType>
</xs:element>
</xs:schema>
<!-- reference to symbol (tag) -->
<!-- n: symbol (tag) name -->
|