office-gobmx/officecfg/registry/component-schema.dtd
Oliver Bolte 1638615bd0 INTEGRATION: CWS scp2officecfg (1.4.248); FILE MERGED
2004/05/18 16:03:23 jb 1.4.248.1: #i25937# Cleanup schema to match current capabilities
2004-07-05 12:30:16 +00:00

127 lines
2.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!ELEMENT oor:component-schema (info?, import*, uses*, templates?, component)>
<!ATTLIST oor:component-schema
oor:name NMTOKEN #REQUIRED
oor:package NMTOKEN #REQUIRED
oor:version NMTOKEN #IMPLIED
xml:lang CDATA #IMPLIED
xmlns:oor CDATA #FIXED "http://openoffice.org/2001/registry"
xmlns:xs CDATA #FIXED "http://www.w3.org/2001/XMLSchema"
xmlns:xsi CDATA #FIXED "http://www.w3.org/2001/XMLSchema-instance"
>
<!ELEMENT import EMPTY>
<!ATTLIST import
oor:component CDATA #REQUIRED
>
<!ELEMENT uses EMPTY>
<!ATTLIST uses
oor:component CDATA #REQUIRED
>
<!ELEMENT templates (info?, (group | set)*)>
<!ELEMENT component (info?, (node-ref | group | set)*)>
<!ELEMENT info (deprecated?, author*, desc*, label*)>
<!ELEMENT deprecated (#PCDATA)>
<!ELEMENT author (#PCDATA)>
<!ELEMENT desc (#PCDATA)>
<!ATTLIST desc
xml:lang CDATA #IMPLIED
>
<!ELEMENT label (#PCDATA)>
<!ATTLIST label
xml:lang CDATA #IMPLIED
>
<!ELEMENT group (info?, (prop | node-ref | group | set)*)>
<!ATTLIST group
oor:name CDATA #REQUIRED
oor:extensible (true | false) #IMPLIED
>
<!ELEMENT set (info?, item*)>
<!ATTLIST set
oor:name CDATA #REQUIRED
oor:node-type NMTOKEN #REQUIRED
oor:component CDATA #IMPLIED
>
<!ELEMENT node-ref (info?)>
<!ATTLIST node-ref
oor:name CDATA #REQUIRED
oor:node-type NMTOKEN #REQUIRED
oor:component CDATA #IMPLIED
>
<!ELEMENT prop (info?, constraints?, value?)>
<!ATTLIST prop
oor:name CDATA #REQUIRED
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
oor:localized (true | false) #IMPLIED
oor:nillable (true | false) #IMPLIED
>
<!ELEMENT item EMPTY>
<!ATTLIST item
oor:node-type NMTOKEN #REQUIRED
oor:component CDATA #IMPLIED
>
<!ELEMENT value (#PCDATA)>
<!ATTLIST value
oor:separator CDATA #IMPLIED
>
<!ELEMENT constraints (enumeration*, length?, minLength?, maxLength?, minInclusive?, maxInclusive?, minExclusive?, maxExclusive?, whiteSpace?)>
<!ELEMENT enumeration (info?)>
<!ATTLIST enumeration
oor:value CDATA #REQUIRED
>
<!ELEMENT length (info?)>
<!ATTLIST length
oor:value CDATA #REQUIRED
>
<!ELEMENT minLength (info?)>
<!ATTLIST minLength
oor:value CDATA #REQUIRED
>
<!ELEMENT maxLength (info?)>
<!ATTLIST maxLength
oor:value CDATA #REQUIRED
>
<!ELEMENT minInclusive (info?)>
<!ATTLIST minInclusive
oor:value CDATA #REQUIRED
>
<!ELEMENT maxInclusive (info?)>
<!ATTLIST maxInclusive
oor:value CDATA #REQUIRED
>
<!ELEMENT minExclusive (info?)>
<!ATTLIST minExclusive
oor:value CDATA #REQUIRED
>
<!ELEMENT maxExclusive (info?)>
<!ATTLIST maxExclusive
oor:value CDATA #REQUIRED
>
<!ELEMENT whiteSpace (info?)>
<!ATTLIST whiteSpace
oor:value CDATA #REQUIRED
>