Product: UNO Development Kit / Component Technology
Type: new
Title: Extension Dependency OpenOffice.org-minimal-version
Posted by: [EMAIL PROTECTED]
Affected: -
Effective from: CWS sb63 (OOo 2.1)
*Flags*
-------
API/ BASIC [ ]
Configuration [ ]
File format change [ ]
Help/ Guide [ ]
Performance test [ ]
Translation [ ]
UI relevant [ ]
*Description*
-------------
Originally, it was planned to introduce actual extension dependencies
(see
<http://specs.openoffice.org/appwide/packagemanager/extensiondependencies1.odt>)
on a by-need basis. No needs for extensions depending on features
introduced in
OOo 2.1 have been claimed. However, kso raised concern for the following
scenario: after OOo 2.1 has been released, someone writes an extension
that does
depend on features introduced in OOo 2.1. That extension cannot
declare its
dependencies adequately, unless we do introduce a dependency
<OpenOffice.org-minimal-version value="2.1"/> now. (Which has the
consequence
that people will assume that for future versions similar dependencies with
value="2.2" etc. will also be available.)
Formally, the dependency is an empty XML element whose name consists
of the
namespace name "http://openoffice.org/extensions/description/2006" and
the local
part "OpenOffice.org-minimal-version". It shall have two attributes,
namely the
"name" attribute required for every dependency and an attribute with
unprefixed
name "value" whose value is the string representation of an OOo
version starting
with OOo 2.1 (in which case the value is the string "2.1"). The
dependency is
fulfilled if and only if the value of the current OOo version is
(element-by-element lexicographically) greater than or equal to the
specified value.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]