1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
2*dde34420SAndrew Rist<!--***********************************************************
3*dde34420SAndrew Rist *
4*dde34420SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
5*dde34420SAndrew Rist * or more contributor license agreements.  See the NOTICE file
6*dde34420SAndrew Rist * distributed with this work for additional information
7*dde34420SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
8*dde34420SAndrew Rist * to you under the Apache License, Version 2.0 (the
9*dde34420SAndrew Rist * "License"); you may not use this file except in compliance
10*dde34420SAndrew Rist * with the License.  You may obtain a copy of the License at
11*dde34420SAndrew Rist *
12*dde34420SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
13*dde34420SAndrew Rist *
14*dde34420SAndrew Rist * Unless required by applicable law or agreed to in writing,
15*dde34420SAndrew Rist * software distributed under the License is distributed on an
16*dde34420SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17*dde34420SAndrew Rist * KIND, either express or implied.  See the License for the
18*dde34420SAndrew Rist * specific language governing permissions and limitations
19*dde34420SAndrew Rist * under the License.
20*dde34420SAndrew Rist *
21*dde34420SAndrew Rist ***********************************************************-->
22*dde34420SAndrew Rist
23*dde34420SAndrew Rist
24cdf0e10cSrcweir
25cdf0e10cSrcweir<!ELEMENT oor:component-schema (info?, import*, uses*, templates?, component)>
26cdf0e10cSrcweir<!ATTLIST oor:component-schema
27cdf0e10cSrcweir    oor:package CDATA #REQUIRED
28cdf0e10cSrcweir    oor:name CDATA #REQUIRED
29cdf0e10cSrcweir    oor:version NMTOKEN #IMPLIED
30cdf0e10cSrcweir    xml:lang CDATA #IMPLIED
31cdf0e10cSrcweir    xmlns:oor CDATA #FIXED "http://openoffice.org/2001/registry"
32cdf0e10cSrcweir    xmlns:xs CDATA #FIXED "http://www.w3.org/2001/XMLSchema">
33cdf0e10cSrcweir
34cdf0e10cSrcweir<!ELEMENT import EMPTY>
35cdf0e10cSrcweir<!ATTLIST import
36cdf0e10cSrcweir    oor:component CDATA #REQUIRED>
37cdf0e10cSrcweir
38cdf0e10cSrcweir<!ELEMENT uses EMPTY>
39cdf0e10cSrcweir<!ATTLIST uses
40cdf0e10cSrcweir    oor:component CDATA #REQUIRED>
41cdf0e10cSrcweir
42cdf0e10cSrcweir<!ELEMENT templates (info?, (set | group)*)>
43cdf0e10cSrcweir<!ATTLIST templates>
44cdf0e10cSrcweir
45cdf0e10cSrcweir<!ELEMENT info (deprecated?, author*, desc*, label*)>
46cdf0e10cSrcweir<!ATTLIST info>
47cdf0e10cSrcweir
48cdf0e10cSrcweir<!ELEMENT deprecated (#PCDATA)>
49cdf0e10cSrcweir<!ATTLIST deprecated>
50cdf0e10cSrcweir
51cdf0e10cSrcweir<!ELEMENT author (#PCDATA)>
52cdf0e10cSrcweir<!ATTLIST author>
53cdf0e10cSrcweir
54cdf0e10cSrcweir<!ELEMENT desc (#PCDATA)>
55cdf0e10cSrcweir<!ATTLIST desc
56cdf0e10cSrcweir    xml:lang CDATA #IMPLIED>
57cdf0e10cSrcweir
58cdf0e10cSrcweir<!ELEMENT label (#PCDATA)>
59cdf0e10cSrcweir<!ATTLIST label
60cdf0e10cSrcweir    xml:lang CDATA #IMPLIED>
61cdf0e10cSrcweir
62cdf0e10cSrcweir<!ELEMENT component (info?, (set | group | prop | node-ref)*)>
63cdf0e10cSrcweir<!ATTLIST component>
64cdf0e10cSrcweir
65cdf0e10cSrcweir<!ELEMENT set (info?, item*)>
66cdf0e10cSrcweir<!ATTLIST set
67cdf0e10cSrcweir    oor:name CDATA #REQUIRED
68cdf0e10cSrcweir    oor:node-type CDATA #REQUIRED
69cdf0e10cSrcweir    oor:component CDATA #IMPLIED>
70cdf0e10cSrcweir
71cdf0e10cSrcweir<!ELEMENT item EMPTY>
72cdf0e10cSrcweir<!ATTLIST item
73cdf0e10cSrcweir    oor:node-type CDATA #REQUIRED
74cdf0e10cSrcweir    oor:component CDATA #IMPLIED>
75cdf0e10cSrcweir
76cdf0e10cSrcweir<!ELEMENT group (info?, (set | group | prop | node-ref)*)>
77cdf0e10cSrcweir<!ATTLIST group
78cdf0e10cSrcweir    oor:name CDATA #REQUIRED
79cdf0e10cSrcweir    oor:extensible (false | true) #IMPLIED>
80cdf0e10cSrcweir
81cdf0e10cSrcweir<!ELEMENT prop (info?, constraints?, value?)>
82cdf0e10cSrcweir<!ATTLIST prop
83cdf0e10cSrcweir    oor:name CDATA #REQUIRED
84cdf0e10cSrcweir    oor:localized (false | true) #IMPLIED
85cdf0e10cSrcweir    oor:type
86cdf0e10cSrcweir        (oor:any | xs:boolean | xs:short | xs:int | xs:long | xs:double |
87cdf0e10cSrcweir         xs:string | xs:hexBinary | oor:boolean-list | oor:short-list |
88cdf0e10cSrcweir         oor:int-list | oor:long-list | oor:double-list | oor:string-list |
89cdf0e10cSrcweir         oor:hexBinary-list)
90cdf0e10cSrcweir        #REQUIRED
91cdf0e10cSrcweir    oor:nillable (false | true) #IMPLIED>
92cdf0e10cSrcweir
93cdf0e10cSrcweir<!ELEMENT constraints
94cdf0e10cSrcweir    (enumeration*, length?, minLength?, maxLength?, minInclusive?,
95cdf0e10cSrcweir     maxInclusive?, minExclusive?, maxExclusive?, whiteSpace?)>
96cdf0e10cSrcweir
97cdf0e10cSrcweir<!ELEMENT enumeration (info?)>
98cdf0e10cSrcweir<!ATTLIST enumeration
99cdf0e10cSrcweir    oor:value CDATA #REQUIRED>
100cdf0e10cSrcweir
101cdf0e10cSrcweir<!ELEMENT length (info?)>
102cdf0e10cSrcweir<!ATTLIST length
103cdf0e10cSrcweir    oor:value CDATA #REQUIRED>
104cdf0e10cSrcweir
105cdf0e10cSrcweir<!ELEMENT minLength (info?)>
106cdf0e10cSrcweir<!ATTLIST minLength
107cdf0e10cSrcweir    oor:value CDATA #REQUIRED>
108cdf0e10cSrcweir
109cdf0e10cSrcweir<!ELEMENT maxLength (info?)>
110cdf0e10cSrcweir<!ATTLIST maxLength
111cdf0e10cSrcweir    oor:value CDATA #REQUIRED>
112cdf0e10cSrcweir
113cdf0e10cSrcweir<!ELEMENT minInclusive (info?)>
114cdf0e10cSrcweir<!ATTLIST minInclusive
115cdf0e10cSrcweir    oor:value CDATA #REQUIRED>
116cdf0e10cSrcweir
117cdf0e10cSrcweir<!ELEMENT maxInclusive (info?)>
118cdf0e10cSrcweir<!ATTLIST maxInclusive
119cdf0e10cSrcweir    oor:value CDATA #REQUIRED>
120cdf0e10cSrcweir
121cdf0e10cSrcweir<!ELEMENT minExclusive (info?)>
122cdf0e10cSrcweir<!ATTLIST minExclusive
123cdf0e10cSrcweir    oor:value CDATA #REQUIRED>
124cdf0e10cSrcweir
125cdf0e10cSrcweir<!ELEMENT maxExclusive (info?)>
126cdf0e10cSrcweir<!ATTLIST maxExclusive
127cdf0e10cSrcweir    oor:value CDATA #REQUIRED>
128cdf0e10cSrcweir
129cdf0e10cSrcweir<!ELEMENT whiteSpace (info?)>
130cdf0e10cSrcweir<!ATTLIST whiteSpace
131cdf0e10cSrcweir    oor:value CDATA #REQUIRED>
132cdf0e10cSrcweir
133cdf0e10cSrcweir<!ELEMENT value (#PCDATA | it | unicode)*>
134cdf0e10cSrcweir<!ATTLIST value
135cdf0e10cSrcweir    oor:separator CDATA #IMPLIED>
136cdf0e10cSrcweir
137cdf0e10cSrcweir<!ELEMENT it (#PCDATA | unicode)*>
138cdf0e10cSrcweir<!ATTLIST it>
139cdf0e10cSrcweir
140cdf0e10cSrcweir<!ELEMENT unicode EMPTY>
141cdf0e10cSrcweir<!ATTLIST unicode
142cdf0e10cSrcweir    oor:scalar NMTOKEN #REQUIRED>
143cdf0e10cSrcweir
144cdf0e10cSrcweir<!ELEMENT node-ref (info?)>
145cdf0e10cSrcweir<!ATTLIST node-ref
146cdf0e10cSrcweir    oor:name CDATA #REQUIRED
147cdf0e10cSrcweir    oor:node-type CDATA #REQUIRED
148cdf0e10cSrcweir    oor:component CDATA #IMPLIED>
149