1 <?xml version=
"1.0" encoding=
"UTF-8"?>
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 .
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
>
31 oor:component CDATA #REQUIRED
>
35 oor:component CDATA #REQUIRED
>
37 <!ELEMENT templates (info?, (set | group)*)
>
40 <!ELEMENT info (deprecated?, author*, desc*, label*)
>
43 <!ELEMENT deprecated (#PCDATA)
>
46 <!ELEMENT author (#PCDATA)
>
49 <!ELEMENT desc (#PCDATA)
>
51 xml:lang CDATA #IMPLIED
>
53 <!ELEMENT label (#PCDATA)
>
55 xml:lang CDATA #IMPLIED
>
57 <!ELEMENT component (info?, (set | group | prop | node-ref)*)
>
60 <!ELEMENT set (info?, item*)
>
62 oor:name CDATA #REQUIRED
63 oor:node-type CDATA #REQUIRED
64 oor:component CDATA #IMPLIED
>
68 oor:node-type CDATA #REQUIRED
69 oor:component CDATA #IMPLIED
>
71 <!ELEMENT group (info?, (set | group | prop | node-ref)*)
>
73 oor:name CDATA #REQUIRED
74 oor:extensible (false | true) #IMPLIED
>
76 <!ELEMENT prop (info?, constraints?, value?)
>
78 oor:name CDATA #REQUIRED
79 oor:localized (false | true) #IMPLIED
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 |
86 oor:nillable (false | true) #IMPLIED
>
89 (enumeration*, length?, minLength?, maxLength?, minInclusive?,
90 maxInclusive?, minExclusive?, maxExclusive?, whiteSpace?)
>
92 <!ELEMENT enumeration (info?)
>
94 oor:value CDATA #REQUIRED
>
96 <!ELEMENT length (info?)
>
98 oor:value CDATA #REQUIRED
>
100 <!ELEMENT minLength (info?)
>
102 oor:value CDATA #REQUIRED
>
104 <!ELEMENT maxLength (info?)
>
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?)
>
126 oor:value CDATA #REQUIRED
>
128 <!ELEMENT value (#PCDATA | it | unicode)*
>
130 oor:separator CDATA #IMPLIED
>
132 <!ELEMENT it (#PCDATA | unicode)*
>
135 <!ELEMENT unicode EMPTY
>
137 oor:scalar NMTOKEN #REQUIRED
>
139 <!ELEMENT node-ref (info?)
>
141 oor:name CDATA #REQUIRED
142 oor:node-type CDATA #REQUIRED
143 oor:component CDATA #IMPLIED
>