Results 1 to 4 of 4

Thread: A typo in OSGi's 3.5.4 Import-Package Header chapter?

  1. #1
    Join Date
    Sep 2008
    Location
    Warsaw, Poland
    Posts
    18

    Default A typo in OSGi's 3.5.4 Import-Package Header chapter?

    Hi,

    I don't know where I could send the question and await a response so I'm sending here hoping it won't break any rules.

    The chapter 3.5.4 Import-Package Header in OSGi 4.1 spec reads:

    The syntax permits multiple package names, separated by semi-colons, to be described in a short form.

    I think it should read "separated by colons" as indicated by its syntax.

    The example in this section is incorrect too as it uses semi-colons to separate packages.

    Am I correct? I can't believe noone reported it earlier so I'm quite certain I *am* wrong.

    Jacek

  2. #2
    Join Date
    Oct 2008
    Posts
    1

    Default It is a semi colon (";")

    When I look at the spec, it looks like a semi colon to me. Certainly not a colon. We don't use colon in the manifest syntax as far as I can recall.

    So I guess you are wrong :-)

  3. #3
    Join Date
    Sep 2008
    Location
    Warsaw, Poland
    Posts
    18

    Default

    Yes, you're right I'm wrong ;-) Thanks. Don't know how I could think otherwise.

    Jacek

  4. #4
    Join Date
    Sep 2008
    Location
    Warsaw, Poland
    Posts
    18

    Default

    Got it! After some more thinking I know what I meant at first ;-)

    I thought about the comma (that's "colon" in my previous post). I think the examples should use it rather than semi-colon. Is that correct?

    Jacek

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •