https://bugs.documentfoundation.org/show_bug.cgi?id=148161
Bug ID: 148161
Summary: Remove redundant attributes from configuration schema
XML files
Product: LibreOffice
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Keywords: difficultyBeginner, easyHack, topicCleanup
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: [email protected]
Reporter: [email protected]
The *.xcs XML files under officecfg/registry/schema/ (adhering to
officecfg/registry/component-schema.dtd) redundantly contain some element
attributes that explicitly spell out the attributes' implied default values.
For example, officecfg/registry/schema/org/openoffice/Office/Common.xcs
contains
> <prop oor:name="Password" oor:type="xs:string" oor:localized="false">
where oor:localized="false" is the default for <prop> elements, anyway.
Removing such redundant data is beneficial, as it ends up in the *.xcd files
that are processed when LibreOffice starts, so whatever is not present there
speeds up start up by a tiny fraction.
The list of relevant attributes is:
* oor:extensible="false" for <group> elements
* oor:localized="false" for <prop> elements
* oor:nillable="true" for <prop> elements
--
You are receiving this mail because:
You are the assignee for the bug.