Hello,

I have some Questions/Comments on Comments in Features (RFC 241)


It would be nice to have the same ways to Comment in Features and Configurator 
Spec.

When reading rfc 241, I can see in the Example that an key that starts(?) with 
a `#` is an comment:
```
{

"# some" : "comment",

"#" : "key starts with hast es enough",

"key" : "value"
}
```

The spec of the[ 
Configurator:](https://osgi.org/specification/osgi.cmpn/7.0.0/service.configurator.html#d0e131566)
```
{
// Comment

/*
* More comments
*/

"key" : "value"
}
```

1. It may help to add some Comments in the form of JSMin (The JavaScript 
Minifier) comments ( //  and /* */ ) to your example to point out that this is 
also valid.

2. It would be nice to have more information about - how to do comment

´´´
"#" : "Is it only Key must start with an #?",
"#" : "is having same key twice also okay?",
"# foo" : "# bar is okay"
"#": null;
"#": { "fooComment", "barComment"};

"#": ["and",
      "this",
      "?"],
´´´

3. Does that mean, that Service-Properties/Configurations with the name "#" 
couldn't be set using the features configuration? Or will every comment in the 
configurator section be handled as an component-property?

some Months ago i filed the same Questions here 
https://osgi.org/bugzilla/show_bug.cgi?id=234

_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to