summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configmgr/source/xcdparser.cxx2
-rw-r--r--officecfg/registry/component-update.dtd4
2 files changed, 2 insertions, 4 deletions
diff --git a/configmgr/source/xcdparser.cxx b/configmgr/source/xcdparser.cxx
index c5e8a9b017db..bc00b7b0b01d 100644
--- a/configmgr/source/xcdparser.cxx
+++ b/configmgr/source/xcdparser.cxx
@@ -127,7 +127,7 @@ bool XcdParser::startElement(
reader, nsId, name, existingDependencies);
}
if (nsId == ParseManager::NAMESPACE_OOR &&
- name.equals("component-data"))
+ (name.equals("component-data") || name.equals("items")))
{
nestedParser_ = new XcuParser(layer_ + 1, data_, nullptr, nullptr, nullptr);
nesting_ = 1;
diff --git a/officecfg/registry/component-update.dtd b/officecfg/registry/component-update.dtd
index e2e5d77dee11..d99ee499249e 100644
--- a/officecfg/registry/component-update.dtd
+++ b/officecfg/registry/component-update.dtd
@@ -97,9 +97,7 @@
<!-- must syntactically match xs:integer and have a value in {0, ..., 8,
11, 12, 14, ..., 31, 65534, 65535} -->
-<!-- oor:items is an alternative root element to oor:component-data (in plain
- .xcu files only; not when nested in an .xcd file), used for the user-layer
- registrymodifications.xcu: -->
+<!-- oor:items is an alternative root element to oor:component-data: -->
<!ELEMENT oor:items (item*)>
<!ATTLIST oor:items>