Update git submodules
[LibreOffice.git] / officecfg / registry / component-schema.dtd
blob70bd51bf7d1352c6edd6f1b2914b01b4cb90f411
1 <!--
2 * This file is part of the LibreOffice project.
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 * This file incorporates work covered by the following license notice:
10 * Licensed to the Apache Software Foundation (ASF) under one or more
11 * contributor license agreements. See the NOTICE file distributed
12 * with this work for additional information regarding copyright
13 * ownership. The ASF licenses this file to you under the Apache
14 * License, Version 2.0 (the "License"); you may not use this file
15 * except in compliance with the License. You may obtain a copy of
16 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
17 -->
19 <!ELEMENT oor:component-schema (info?, import*, uses*, templates?, component)>
20 <!ATTLIST oor:component-schema
21 oor:package CDATA #REQUIRED
22 oor:name CDATA #REQUIRED
23 oor:version NMTOKEN #IMPLIED
24 xml:lang CDATA #IMPLIED
25 xmlns:oor CDATA #FIXED "http://openoffice.org/2001/registry"
26 xmlns:xs CDATA #FIXED "http://www.w3.org/2001/XMLSchema">
28 <!ELEMENT import EMPTY>
29 <!ATTLIST import
30 oor:component CDATA #REQUIRED>
32 <!ELEMENT uses EMPTY>
33 <!ATTLIST uses
34 oor:component CDATA #REQUIRED>
36 <!ELEMENT templates (info?, (set | group)*)>
37 <!ATTLIST templates>
39 <!ELEMENT info (deprecated?, author*, desc*, label*)>
40 <!ATTLIST info>
42 <!ELEMENT deprecated (#PCDATA)>
43 <!ATTLIST deprecated>
45 <!ELEMENT author (#PCDATA)>
46 <!ATTLIST author>
48 <!ELEMENT desc (#PCDATA)>
49 <!ATTLIST desc
50 xml:lang CDATA #IMPLIED>
52 <!ELEMENT label (#PCDATA)>
53 <!ATTLIST label
54 xml:lang CDATA #IMPLIED>
56 <!ELEMENT component (info?, (set | group | prop | node-ref)*)>
57 <!ATTLIST component>
59 <!ELEMENT set (info?, item*)>
60 <!ATTLIST set
61 oor:name CDATA #REQUIRED
62 oor:node-type CDATA #REQUIRED
63 oor:component CDATA #IMPLIED>
65 <!ELEMENT item EMPTY>
66 <!ATTLIST item
67 oor:node-type CDATA #REQUIRED
68 oor:component CDATA #IMPLIED>
70 <!ELEMENT group (info?, (set | group | prop | node-ref)*)>
71 <!ATTLIST group
72 oor:name CDATA #REQUIRED
73 oor:extensible (false | true) #IMPLIED>
75 <!ELEMENT prop (info?, constraints?, value?)>
76 <!ATTLIST prop
77 oor:name CDATA #REQUIRED
78 oor:localized (false | true) #IMPLIED
79 oor:type
80 (oor:any | xs:boolean | xs:short | xs:int | xs:long | xs:double |
81 xs:string | xs:hexBinary | oor:boolean-list | oor:short-list |
82 oor:int-list | oor:long-list | oor:double-list | oor:string-list |
83 oor:hexBinary-list)
84 #REQUIRED
85 oor:nillable (false | true) #IMPLIED>
87 <!ELEMENT constraints
88 (enumeration*, length?, minLength?, maxLength?, minInclusive?,
89 maxInclusive?, minExclusive?, maxExclusive?, whiteSpace?)>
91 <!ELEMENT enumeration (info?)>
92 <!ATTLIST enumeration
93 oor:value CDATA #REQUIRED>
95 <!ELEMENT length (info?)>
96 <!ATTLIST length
97 oor:value CDATA #REQUIRED>
99 <!ELEMENT minLength (info?)>
100 <!ATTLIST minLength
101 oor:value CDATA #REQUIRED>
103 <!ELEMENT maxLength (info?)>
104 <!ATTLIST maxLength
105 oor:value CDATA #REQUIRED>
107 <!ELEMENT minInclusive (info?)>
108 <!ATTLIST minInclusive
109 oor:value CDATA #REQUIRED>
111 <!ELEMENT maxInclusive (info?)>
112 <!ATTLIST maxInclusive
113 oor:value CDATA #REQUIRED>
115 <!ELEMENT minExclusive (info?)>
116 <!ATTLIST minExclusive
117 oor:value CDATA #REQUIRED>
119 <!ELEMENT maxExclusive (info?)>
120 <!ATTLIST maxExclusive
121 oor:value CDATA #REQUIRED>
123 <!ELEMENT whiteSpace (info?)>
124 <!ATTLIST whiteSpace
125 oor:value CDATA #REQUIRED>
127 <!ELEMENT value (#PCDATA | it | unicode)*>
128 <!ATTLIST value
129 oor:separator CDATA #IMPLIED>
131 <!ELEMENT it (#PCDATA | unicode)*>
132 <!ATTLIST it>
134 <!ELEMENT unicode EMPTY>
135 <!ATTLIST unicode
136 oor:scalar NMTOKEN #REQUIRED>
138 <!ELEMENT node-ref (info?)>
139 <!ATTLIST node-ref
140 oor:name CDATA #REQUIRED
141 oor:node-type CDATA #REQUIRED
142 oor:component CDATA #IMPLIED>