1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <!ELEMENT oor:component-schema (info?, import*, uses*, templates?, component)
>
3 <!ATTLIST oor:component-schema
4 oor:name NMTOKEN #REQUIRED
5 oor:package NMTOKEN #REQUIRED
6 oor:version NMTOKEN #IMPLIED
7 xml:lang CDATA #IMPLIED
8 xmlns:oor CDATA #FIXED
"http://openoffice.org/2001/registry"
9 xmlns:xs CDATA #FIXED
"http://www.w3.org/2001/XMLSchema"
10 xmlns:xsi CDATA #FIXED
"http://www.w3.org/2001/XMLSchema-instance"
13 <!ELEMENT import EMPTY
>
15 oor:component CDATA #REQUIRED
20 oor:component CDATA #REQUIRED
23 <!ELEMENT templates (info?, (group | set)*)
>
24 <!ELEMENT component (info?, (node-ref | group | set)*)
>
26 <!ELEMENT info (deprecated?, author*, desc*, label*)
>
28 <!ELEMENT deprecated (#PCDATA)
>
30 <!ELEMENT author (#PCDATA)
>
32 <!ELEMENT desc (#PCDATA)
>
34 xml:lang CDATA #IMPLIED
37 <!ELEMENT label (#PCDATA)
>
39 xml:lang CDATA #IMPLIED
42 <!ELEMENT group (info?, (prop | node-ref | group | set)*)
>
44 oor:name CDATA #REQUIRED
45 oor:extensible (true | false) #IMPLIED
48 <!ELEMENT set (info?, item*)
>
50 oor:name CDATA #REQUIRED
51 oor:node-type NMTOKEN #REQUIRED
52 oor:component CDATA #IMPLIED
55 <!ELEMENT node-ref (info?)
>
57 oor:name CDATA #REQUIRED
58 oor:node-type NMTOKEN #REQUIRED
59 oor:component CDATA #IMPLIED
62 <!ELEMENT prop (info?, constraints?, value?)
>
64 oor:name CDATA #REQUIRED
65 oor:type (xs:boolean | xs:short | xs:int | xs:long | xs:double | xs:string | xs:hexBinary | oor:any | oor:boolean-list | oor:short-list | oor:int-list | oor:long-list | oor:double-list | oor:string-list | oor:hexBinary-list) #REQUIRED
66 oor:localized (true | false) #IMPLIED
67 oor:nillable (true | false) #IMPLIED
72 oor:node-type NMTOKEN #REQUIRED
73 oor:component CDATA #IMPLIED
76 <!ELEMENT value (#PCDATA)
>
78 oor:separator CDATA #IMPLIED
81 <!ELEMENT constraints (enumeration*, length?, minLength?, maxLength?, minInclusive?, maxInclusive?, minExclusive?, maxExclusive?, whiteSpace?)
>
83 <!ELEMENT enumeration (info?)
>
85 oor:value CDATA #REQUIRED
88 <!ELEMENT length (info?)
>
90 oor:value CDATA #REQUIRED
93 <!ELEMENT minLength (info?)
>
95 oor:value CDATA #REQUIRED
98 <!ELEMENT maxLength (info?)
>
100 oor:value CDATA #REQUIRED
103 <!ELEMENT minInclusive (info?)
>
104 <!ATTLIST minInclusive
105 oor:value CDATA #REQUIRED
108 <!ELEMENT maxInclusive (info?)
>
109 <!ATTLIST maxInclusive
110 oor:value CDATA #REQUIRED
113 <!ELEMENT minExclusive (info?)
>
114 <!ATTLIST minExclusive
115 oor:value CDATA #REQUIRED
118 <!ELEMENT maxExclusive (info?)
>
119 <!ATTLIST maxExclusive
120 oor:value CDATA #REQUIRED
123 <!ELEMENT whiteSpace (info?)
>
125 oor:value CDATA #REQUIRED