[slf4j-dev] [Bug 152] New: Bundle manifest headers have invalid version specifications in SLF4J version 1 .5.9-RC0

bugzilla-daemon at pixie.qos.ch bugzilla-daemon at pixie.qos.ch
Tue Oct 13 04:35:09 CEST 2009


http://bugzilla.slf4j.org/show_bug.cgi?id=152

           Summary: Bundle manifest headers have invalid version
                    specifications  in SLF4J version 1.5.9-RC0
           Product: SLF4J
           Version: 1.5.x
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P1
         Component: Unspecified
        AssignedTo: dev at slf4j.org
        ReportedBy: ecorbett at gmail.com


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.


-- 
Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the slf4j-dev mailing list