Hi Stuart

I got it.
Thank you for teaching me !

Best regards,
=======
Ikuo YAMASAKI

On Thu, 5 Feb 2009 15:27:54 +0800
Stuart McCulloch <[email protected]> wrote:

Stuart> 2009/2/5 Ikuo Yamasaki <[email protected]>
Stuart> 
Stuart> > Hi,
Stuart> >
Stuart> > I have questions regarding expression of attributes in Export-Package
Stuart> > header.
Stuart> >
Stuart> > 3.6.5 section of r4.1.core.pdf has the following example.
Stuart> > -----
Stuart> > For example, the following statements will match.
Stuart> > A: Import-Package: com.acme.foo;company=ACME
Stuart> > B: Export-Package: com.acme.foo;
Stuart> >        company="ACME";
Stuart> >        security=false
Stuart> > -----
Stuart> >
Stuart> > Why the attributes keyed by company in the Exported-Package header is
Stuart> > enlosed in double quotes ?
Stuart> >
Stuart> >        not company=ACME
Stuart> >        but company="ACME"
Stuart> >
Stuart> > What is the difference between value enclosed in double quotes and the
Stuart> > one not enclosed ?
Stuart> >
Stuart> 
Stuart> there is no difference - 1.3.2 states that double quotes are needed if 
the
Stuart> value is not a token (ie. contains characters other than letters, 
numbers,
Stuart> dashes, or underscores)
Stuart> 
Stuart> so "ACME" is the same as ACME, the double quotes are unnecessary.
Stuart> however "A.C.M.E." would require double quotes because of the dots...
Stuart> 
Stuart> HTH
Stuart> 
Stuart> Best regards,
Stuart> >
Stuart> > ---------------------
Stuart> > NTT Cyber Solutions Laboratories
Stuart> >
Stuart> >     Ikuo YAMASAKI
Stuart> >        E-mail: [email protected]
Stuart> > TEL +81-46-859-8537  FAX +81-46-855-1282
Stuart> >
Stuart> > _______________________________________________
Stuart> > OSGi Developer Mail List
Stuart> > [email protected]
Stuart> > https://mail.osgi.org/mailman/listinfo/osgi-dev
Stuart> >
Stuart> 
Stuart> 
Stuart> 
Stuart> -- 
Stuart> Cheers, Stuart


_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to