bump product version to 5.0.4.1
[LibreOffice.git] / officecfg / registry / component-schema.dtd
blob242b9c6ea513b24e4a51b5f634aac1ce4001a3ac
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 -->
20 <!ELEMENT oor:component-schema (info?, import*, uses*, templates?, component)>
21 <!ATTLIST oor:component-schema
22 oor:package CDATA #REQUIRED
23 oor:name CDATA #REQUIRED
24 oor:version NMTOKEN #IMPLIED
25 xml:lang CDATA #IMPLIED
26 xmlns:oor CDATA #FIXED "http://openoffice.org/2001/registry"
27 xmlns:xs CDATA #FIXED "http://www.w3.org/2001/XMLSchema">
29 <!ELEMENT import EMPTY>
30 <!ATTLIST import
31 oor:component CDATA #REQUIRED>
33 <!ELEMENT uses EMPTY>
34 <!ATTLIST uses
35 oor:component CDATA #REQUIRED>
37 <!ELEMENT templates (info?, (set | group)*)>
38 <!ATTLIST templates>
40 <!ELEMENT info (deprecated?, author*, desc*, label*)>
41 <!ATTLIST info>
43 <!ELEMENT deprecated (#PCDATA)>
44 <!ATTLIST deprecated>
46 <!ELEMENT author (#PCDATA)>
47 <!ATTLIST author>
49 <!ELEMENT desc (#PCDATA)>
50 <!ATTLIST desc
51 xml:lang CDATA #IMPLIED>
53 <!ELEMENT label (#PCDATA)>
54 <!ATTLIST label
55 xml:lang CDATA #IMPLIED>
57 <!ELEMENT component (info?, (set | group | prop | node-ref)*)>
58 <!ATTLIST component>
60 <!ELEMENT set (info?, item*)>
61 <!ATTLIST set
62 oor:name CDATA #REQUIRED
63 oor:node-type CDATA #REQUIRED
64 oor:component CDATA #IMPLIED>
66 <!ELEMENT item EMPTY>
67 <!ATTLIST item
68 oor:node-type CDATA #REQUIRED
69 oor:component CDATA #IMPLIED>
71 <!ELEMENT group (info?, (set | group | prop | node-ref)*)>
72 <!ATTLIST group
73 oor:name CDATA #REQUIRED
74 oor:extensible (false | true) #IMPLIED>
76 <!ELEMENT prop (info?, constraints?, value?)>
77 <!ATTLIST prop
78 oor:name CDATA #REQUIRED
79 oor:localized (false | true) #IMPLIED
80 oor:type
81 (oor:any | xs:boolean | xs:short | xs:int | xs:long | xs:double |
82 xs:string | xs:hexBinary | oor:boolean-list | oor:short-list |
83 oor:int-list | oor:long-list | oor:double-list | oor:string-list |
84 oor:hexBinary-list)
85 #REQUIRED
86 oor:nillable (false | true) #IMPLIED>
88 <!ELEMENT constraints
89 (enumeration*, length?, minLength?, maxLength?, minInclusive?,
90 maxInclusive?, minExclusive?, maxExclusive?, whiteSpace?)>
92 <!ELEMENT enumeration (info?)>
93 <!ATTLIST enumeration
94 oor:value CDATA #REQUIRED>
96 <!ELEMENT length (info?)>
97 <!ATTLIST length
98 oor:value CDATA #REQUIRED>
100 <!ELEMENT minLength (info?)>
101 <!ATTLIST minLength
102 oor:value CDATA #REQUIRED>
104 <!ELEMENT maxLength (info?)>
105 <!ATTLIST maxLength
106 oor:value CDATA #REQUIRED>
108 <!ELEMENT minInclusive (info?)>
109 <!ATTLIST minInclusive
110 oor:value CDATA #REQUIRED>
112 <!ELEMENT maxInclusive (info?)>
113 <!ATTLIST maxInclusive
114 oor:value CDATA #REQUIRED>
116 <!ELEMENT minExclusive (info?)>
117 <!ATTLIST minExclusive
118 oor:value CDATA #REQUIRED>
120 <!ELEMENT maxExclusive (info?)>
121 <!ATTLIST maxExclusive
122 oor:value CDATA #REQUIRED>
124 <!ELEMENT whiteSpace (info?)>
125 <!ATTLIST whiteSpace
126 oor:value CDATA #REQUIRED>
128 <!ELEMENT value (#PCDATA | it | unicode)*>
129 <!ATTLIST value
130 oor:separator CDATA #IMPLIED>
132 <!ELEMENT it (#PCDATA | unicode)*>
133 <!ATTLIST it>
135 <!ELEMENT unicode EMPTY>
136 <!ATTLIST unicode
137 oor:scalar NMTOKEN #REQUIRED>
139 <!ELEMENT node-ref (info?)>
140 <!ATTLIST node-ref
141 oor:name CDATA #REQUIRED
142 oor:node-type CDATA #REQUIRED
143 oor:component CDATA #IMPLIED>