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 .
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
>
30 oor:component CDATA #REQUIRED
>
34 oor:component CDATA #REQUIRED
>
36 <!ELEMENT templates (info?, (set | group)*)
>
39 <!ELEMENT info (deprecated?, author*, desc*, label*)
>
42 <!ELEMENT deprecated (#PCDATA)
>
45 <!ELEMENT author (#PCDATA)
>
48 <!ELEMENT desc (#PCDATA)
>
50 xml:lang CDATA #IMPLIED
>
52 <!ELEMENT label (#PCDATA)
>
54 xml:lang CDATA #IMPLIED
>
56 <!ELEMENT component (info?, (set | group | prop | node-ref)*)
>
59 <!ELEMENT set (info?, item*)
>
61 oor:name CDATA #REQUIRED
62 oor:node-type CDATA #REQUIRED
63 oor:component CDATA #IMPLIED
>
67 oor:node-type CDATA #REQUIRED
68 oor:component CDATA #IMPLIED
>
70 <!ELEMENT group (info?, (set | group | prop | node-ref)*)
>
72 oor:name CDATA #REQUIRED
73 oor:extensible (false | true) #IMPLIED
>
75 <!ELEMENT prop (info?, constraints?, value?)
>
77 oor:name CDATA #REQUIRED
78 oor:localized (false | true) #IMPLIED
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 |
85 oor:nillable (false | true) #IMPLIED
>
88 (enumeration*, length?, minLength?, maxLength?, minInclusive?,
89 maxInclusive?, minExclusive?, maxExclusive?, whiteSpace?)
>
91 <!ELEMENT enumeration (info?)
>
93 oor:value CDATA #REQUIRED
>
95 <!ELEMENT length (info?)
>
97 oor:value CDATA #REQUIRED
>
99 <!ELEMENT minLength (info?)
>
101 oor:value CDATA #REQUIRED
>
103 <!ELEMENT maxLength (info?)
>
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?)
>
125 oor:value CDATA #REQUIRED
>
127 <!ELEMENT value (#PCDATA | it | unicode)*
>
129 oor:separator CDATA #IMPLIED
>
131 <!ELEMENT it (#PCDATA | unicode)*
>
134 <!ELEMENT unicode EMPTY
>
136 oor:scalar NMTOKEN #REQUIRED
>
138 <!ELEMENT node-ref (info?)
>
140 oor:name CDATA #REQUIRED
141 oor:node-type CDATA #REQUIRED
142 oor:component CDATA #IMPLIED
>