summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Barfurth <jb@openoffice.org>2002-11-08 15:48:50 +0000
committerJörg Barfurth <jb@openoffice.org>2002-11-08 15:48:50 +0000
commitb7317537c03bc3abba2f2a770540339fc8897839 (patch)
treea84397f6cb988e0c9d315e45a97382c3d5094263
parentb09a1b82a343f4e182633300567973f24934794a (diff)
#104661# Adjust schema for using oor:package everywhere; remove oor:context
-rw-r--r--officecfg/registry/component-schema.dtd1
-rw-r--r--officecfg/registry/component-schema.xsd10
-rw-r--r--officecfg/registry/component-types.xsd8
-rw-r--r--officecfg/registry/component-update.dtd7
-rw-r--r--officecfg/registry/component-update.xsd2
5 files changed, 10 insertions, 18 deletions
diff --git a/officecfg/registry/component-schema.dtd b/officecfg/registry/component-schema.dtd
index 27accdbbe6b3..0e0a3d0544a4 100644
--- a/officecfg/registry/component-schema.dtd
+++ b/officecfg/registry/component-schema.dtd
@@ -43,7 +43,6 @@
<!ATTLIST group
oor:name CDATA #REQUIRED
oor:extensible (true | false) #IMPLIED
- oor:component CDATA #IMPLIED
>
<!ELEMENT set (info?, prop*, item*)>
diff --git a/officecfg/registry/component-schema.xsd b/officecfg/registry/component-schema.xsd
index 26666c9f5365..9e6abd397f6a 100644
--- a/officecfg/registry/component-schema.xsd
+++ b/officecfg/registry/component-schema.xsd
@@ -208,15 +208,7 @@
</xs:element>
</xs:sequence>
<xs:attribute name="name" type="xs:NMTOKEN" use="required"/>
- <xs:attribute name="package" type="xs:NMTOKEN" use="required">
- <xs:annotation>
- <xs:documentation>contains the name of the package.
- Package names are composed similar to java packages.
- Packages are used to structure component configuration data.
- An example of a package is 'org.openoffice',
- where 'org' and 'openoffice' each define a package.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
+ <xs:attribute ref="oor:package"/>
<xs:attribute name="version" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>identifies the version of the component. The version number is build of major.minor.micro</xs:documentation>
diff --git a/officecfg/registry/component-types.xsd b/officecfg/registry/component-types.xsd
index e82145f30d75..00323cc9135c 100644
--- a/officecfg/registry/component-types.xsd
+++ b/officecfg/registry/component-types.xsd
@@ -11,9 +11,13 @@
<xs:documentation>identifies a node or an attribute within a tree, must be unique for all siblings.</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="context" type="xs:string" use="optional">
+ <xs:attribute name="package" type="xs:NMTOKEN" use="required">
<xs:annotation>
- <xs:documentation>specifies the environment of a node fragment, typically contains a component path and optionally a node path</xs:documentation>
+ <xs:documentation>contains the name of the package.
+ Package names are composed similar to java packages.
+ Packages are used to structure component configuration data.
+ An example of a package is 'org.openoffice',
+ where 'org' and 'openoffice' each define a package.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="node-type" type="xs:NMTOKEN">
diff --git a/officecfg/registry/component-update.dtd b/officecfg/registry/component-update.dtd
index c666f41527b6..6887a13933a5 100644
--- a/officecfg/registry/component-update.dtd
+++ b/officecfg/registry/component-update.dtd
@@ -2,13 +2,10 @@
<!ELEMENT oor:node ((prop|node)*)>
<!ATTLIST oor:node
- oor:name CDATA #REQUIRED
- oor:context CDATA #REQUIRED
- oor:component CDATA #IMPLIED
+ oor:name NMTOKEN #REQUIRED
+ oor:package NMTOKEN #REQUIRED
oor:finalized (true | false) #IMPLIED
- oor:mandatory (true | false) #IMPLIED
oor:op (modify | replace | remove | reset) #IMPLIED
- oor:node-type NMTOKEN #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"
diff --git a/officecfg/registry/component-update.xsd b/officecfg/registry/component-update.xsd
index 4e89642c4295..7825151c8f02 100644
--- a/officecfg/registry/component-update.xsd
+++ b/officecfg/registry/component-update.xsd
@@ -22,6 +22,7 @@
</xs:element>
</xs:choice>
<xs:attributeGroup ref="oor:update-info"/>
+ <xs:attribute ref="oor:package" use="optional"/>
<xs:attribute ref="oor:node-type" use="optional"/>
</xs:extension>
</xs:complexContent>
@@ -55,7 +56,6 @@
</xs:redefine>
<xs:attributeGroup name="update-info">
<xs:attribute ref="oor:finalized"/>
- <xs:attribute ref="oor:context"/>
<xs:attribute ref="oor:mandatory"/>
<xs:attribute ref="oor:readonly"/>
<xs:attribute ref="oor:op"/>