Details
-
Bug
-
Resolution: Fixed
-
None
-
1.5.x
-
None
-
Operating System: All
Platform: All
-
major
-
P1
-
152
Description
Hi,
The 'Bundle-Version' bundle manifest header for the OSGi bundles in the 1.5.9-RC0 is invalid. The META/MANIFEST.MF files of the OSGi bundles in the release candidate (RC0) version contain the following header:
Bundle-Version: 1.5.9-RC0
The hyphen-minus character ('-') between the micro attribute (i.e. '9') and the qualifier attribute (i.e. 'RC0') is invalid, at least without a full stop ('.') before it.
Section 3.2.5 'Version' of the OSGi Service Platform Core Specification (Release 4, Version 4.2, June 2009) states:
Version specifications are used in several places. A version
token has the following grammar:
version ::=
major( '.' minor ( '.' micro ( '.' qualifier )? )? )?
major ::= number // See 1.3.2
minor ::= number
micro ::= number
qualifier ::= ( alphanum | ’_’ | '-' )+
The invalid '1.5.9-RC0' version specification is also a problem where it is used in the Import-Package and Export-Package headers.
The work around is to modified the bundle manifests (i.e. META/MANIFEST.MF files) for the OSGi bundles being used and change the version specification to '1.5.9.RC0'.
Regards,
Eddy.