Uploaded image for project: 'SLF4J'
  1. SLF4J
  2. SLF4J-143

Bundle manifest headers have invalid version specifications in SLF4J version 1.5.9-RC0

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • None
    • 1.5.x
    • Unspecified
    • None
    • Operating System: All
      Platform: All

    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.

      Attachments

        Activity

          People

            slf4j-dev SLF4J developers list
            ecorbett@gmail.com Eddy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: