1*cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
2*cdf0e10cSrcweir<!--**********************************************************************
3*cdf0e10cSrcweir*
4*cdf0e10cSrcweir* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5*cdf0e10cSrcweir*
6*cdf0e10cSrcweir* Copyright 2000, 2010 Oracle and/or its affiliates.
7*cdf0e10cSrcweir*
8*cdf0e10cSrcweir* OpenOffice.org - a multi-platform office productivity suite
9*cdf0e10cSrcweir*
10*cdf0e10cSrcweir* This file is part of OpenOffice.org.
11*cdf0e10cSrcweir*
12*cdf0e10cSrcweir* OpenOffice.org is free software: you can redistribute it and/or modify
13*cdf0e10cSrcweir* it under the terms of the GNU Lesser General Public License version 3
14*cdf0e10cSrcweir* only, as published by the Free Software Foundation.
15*cdf0e10cSrcweir*
16*cdf0e10cSrcweir* OpenOffice.org is distributed in the hope that it will be useful,
17*cdf0e10cSrcweir* but WITHOUT ANY WARRANTY; without even the implied warranty of
18*cdf0e10cSrcweir* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19*cdf0e10cSrcweir* GNU Lesser General Public License version 3 for more details
20*cdf0e10cSrcweir* (a copy is included in the LICENSE file that accompanied this code).
21*cdf0e10cSrcweir*
22*cdf0e10cSrcweir* You should have received a copy of the GNU Lesser General Public License
23*cdf0e10cSrcweir* version 3 along with OpenOffice.org.  If not, see
24*cdf0e10cSrcweir* <http://www.openoffice.org/license.html>
25*cdf0e10cSrcweir* for a copy of the LGPLv3 License.
26*cdf0e10cSrcweir*
27*cdf0e10cSrcweir**********************************************************************-->
28*cdf0e10cSrcweir
29*cdf0e10cSrcweir<!ELEMENT oor:component-schema (info?, import*, uses*, templates?, component)>
30*cdf0e10cSrcweir<!ATTLIST oor:component-schema
31*cdf0e10cSrcweir    oor:package CDATA #REQUIRED
32*cdf0e10cSrcweir    oor:name CDATA #REQUIRED
33*cdf0e10cSrcweir    oor:version NMTOKEN #IMPLIED
34*cdf0e10cSrcweir    xml:lang CDATA #IMPLIED
35*cdf0e10cSrcweir    xmlns:oor CDATA #FIXED "http://openoffice.org/2001/registry"
36*cdf0e10cSrcweir    xmlns:xs CDATA #FIXED "http://www.w3.org/2001/XMLSchema">
37*cdf0e10cSrcweir
38*cdf0e10cSrcweir<!ELEMENT import EMPTY>
39*cdf0e10cSrcweir<!ATTLIST import
40*cdf0e10cSrcweir    oor:component CDATA #REQUIRED>
41*cdf0e10cSrcweir
42*cdf0e10cSrcweir<!ELEMENT uses EMPTY>
43*cdf0e10cSrcweir<!ATTLIST uses
44*cdf0e10cSrcweir    oor:component CDATA #REQUIRED>
45*cdf0e10cSrcweir
46*cdf0e10cSrcweir<!ELEMENT templates (info?, (set | group)*)>
47*cdf0e10cSrcweir<!ATTLIST templates>
48*cdf0e10cSrcweir
49*cdf0e10cSrcweir<!ELEMENT info (deprecated?, author*, desc*, label*)>
50*cdf0e10cSrcweir<!ATTLIST info>
51*cdf0e10cSrcweir
52*cdf0e10cSrcweir<!ELEMENT deprecated (#PCDATA)>
53*cdf0e10cSrcweir<!ATTLIST deprecated>
54*cdf0e10cSrcweir
55*cdf0e10cSrcweir<!ELEMENT author (#PCDATA)>
56*cdf0e10cSrcweir<!ATTLIST author>
57*cdf0e10cSrcweir
58*cdf0e10cSrcweir<!ELEMENT desc (#PCDATA)>
59*cdf0e10cSrcweir<!ATTLIST desc
60*cdf0e10cSrcweir    xml:lang CDATA #IMPLIED>
61*cdf0e10cSrcweir
62*cdf0e10cSrcweir<!ELEMENT label (#PCDATA)>
63*cdf0e10cSrcweir<!ATTLIST label
64*cdf0e10cSrcweir    xml:lang CDATA #IMPLIED>
65*cdf0e10cSrcweir
66*cdf0e10cSrcweir<!ELEMENT component (info?, (set | group | prop | node-ref)*)>
67*cdf0e10cSrcweir<!ATTLIST component>
68*cdf0e10cSrcweir
69*cdf0e10cSrcweir<!ELEMENT set (info?, item*)>
70*cdf0e10cSrcweir<!ATTLIST set
71*cdf0e10cSrcweir    oor:name CDATA #REQUIRED
72*cdf0e10cSrcweir    oor:node-type CDATA #REQUIRED
73*cdf0e10cSrcweir    oor:component CDATA #IMPLIED>
74*cdf0e10cSrcweir
75*cdf0e10cSrcweir<!ELEMENT item EMPTY>
76*cdf0e10cSrcweir<!ATTLIST item
77*cdf0e10cSrcweir    oor:node-type CDATA #REQUIRED
78*cdf0e10cSrcweir    oor:component CDATA #IMPLIED>
79*cdf0e10cSrcweir
80*cdf0e10cSrcweir<!ELEMENT group (info?, (set | group | prop | node-ref)*)>
81*cdf0e10cSrcweir<!ATTLIST group
82*cdf0e10cSrcweir    oor:name CDATA #REQUIRED
83*cdf0e10cSrcweir    oor:extensible (false | true) #IMPLIED>
84*cdf0e10cSrcweir
85*cdf0e10cSrcweir<!ELEMENT prop (info?, constraints?, value?)>
86*cdf0e10cSrcweir<!ATTLIST prop
87*cdf0e10cSrcweir    oor:name CDATA #REQUIRED
88*cdf0e10cSrcweir    oor:localized (false | true) #IMPLIED
89*cdf0e10cSrcweir    oor:type
90*cdf0e10cSrcweir        (oor:any | xs:boolean | xs:short | xs:int | xs:long | xs:double |
91*cdf0e10cSrcweir         xs:string | xs:hexBinary | oor:boolean-list | oor:short-list |
92*cdf0e10cSrcweir         oor:int-list | oor:long-list | oor:double-list | oor:string-list |
93*cdf0e10cSrcweir         oor:hexBinary-list)
94*cdf0e10cSrcweir        #REQUIRED
95*cdf0e10cSrcweir    oor:nillable (false | true) #IMPLIED>
96*cdf0e10cSrcweir
97*cdf0e10cSrcweir<!ELEMENT constraints
98*cdf0e10cSrcweir    (enumeration*, length?, minLength?, maxLength?, minInclusive?,
99*cdf0e10cSrcweir     maxInclusive?, minExclusive?, maxExclusive?, whiteSpace?)>
100*cdf0e10cSrcweir
101*cdf0e10cSrcweir<!ELEMENT enumeration (info?)>
102*cdf0e10cSrcweir<!ATTLIST enumeration
103*cdf0e10cSrcweir    oor:value CDATA #REQUIRED>
104*cdf0e10cSrcweir
105*cdf0e10cSrcweir<!ELEMENT length (info?)>
106*cdf0e10cSrcweir<!ATTLIST length
107*cdf0e10cSrcweir    oor:value CDATA #REQUIRED>
108*cdf0e10cSrcweir
109*cdf0e10cSrcweir<!ELEMENT minLength (info?)>
110*cdf0e10cSrcweir<!ATTLIST minLength
111*cdf0e10cSrcweir    oor:value CDATA #REQUIRED>
112*cdf0e10cSrcweir
113*cdf0e10cSrcweir<!ELEMENT maxLength (info?)>
114*cdf0e10cSrcweir<!ATTLIST maxLength
115*cdf0e10cSrcweir    oor:value CDATA #REQUIRED>
116*cdf0e10cSrcweir
117*cdf0e10cSrcweir<!ELEMENT minInclusive (info?)>
118*cdf0e10cSrcweir<!ATTLIST minInclusive
119*cdf0e10cSrcweir    oor:value CDATA #REQUIRED>
120*cdf0e10cSrcweir
121*cdf0e10cSrcweir<!ELEMENT maxInclusive (info?)>
122*cdf0e10cSrcweir<!ATTLIST maxInclusive
123*cdf0e10cSrcweir    oor:value CDATA #REQUIRED>
124*cdf0e10cSrcweir
125*cdf0e10cSrcweir<!ELEMENT minExclusive (info?)>
126*cdf0e10cSrcweir<!ATTLIST minExclusive
127*cdf0e10cSrcweir    oor:value CDATA #REQUIRED>
128*cdf0e10cSrcweir
129*cdf0e10cSrcweir<!ELEMENT maxExclusive (info?)>
130*cdf0e10cSrcweir<!ATTLIST maxExclusive
131*cdf0e10cSrcweir    oor:value CDATA #REQUIRED>
132*cdf0e10cSrcweir
133*cdf0e10cSrcweir<!ELEMENT whiteSpace (info?)>
134*cdf0e10cSrcweir<!ATTLIST whiteSpace
135*cdf0e10cSrcweir    oor:value CDATA #REQUIRED>
136*cdf0e10cSrcweir
137*cdf0e10cSrcweir<!ELEMENT value (#PCDATA | it | unicode)*>
138*cdf0e10cSrcweir<!ATTLIST value
139*cdf0e10cSrcweir    oor:separator CDATA #IMPLIED>
140*cdf0e10cSrcweir
141*cdf0e10cSrcweir<!ELEMENT it (#PCDATA | unicode)*>
142*cdf0e10cSrcweir<!ATTLIST it>
143*cdf0e10cSrcweir
144*cdf0e10cSrcweir<!ELEMENT unicode EMPTY>
145*cdf0e10cSrcweir<!ATTLIST unicode
146*cdf0e10cSrcweir    oor:scalar NMTOKEN #REQUIRED>
147*cdf0e10cSrcweir
148*cdf0e10cSrcweir<!ELEMENT node-ref (info?)>
149*cdf0e10cSrcweir<!ATTLIST node-ref
150*cdf0e10cSrcweir    oor:name CDATA #REQUIRED
151*cdf0e10cSrcweir    oor:node-type CDATA #REQUIRED
152*cdf0e10cSrcweir    oor:component CDATA #IMPLIED>
153