design
design copied to clipboard
[osgi enterprise][jmx] Property secion needs more details
Original bug ID: BZ#109 From: Pascal Perez <[email protected]> Reported version: R4 V4.2
Comment author: Pascal Perez <[email protected]>
- 124.5.6 PROPERTY
VALUE – (String) The value of the property. Values that contain white space (see Character.isWhitespace()), quote characters (both single quote ("’" \u0027) and double quote (’"’ \u0022)), or backslashes (’\’ \u005C), must be quoted. A string can be quoted with single or double quotes, any of the previously mentioned characters must be escaped with a backslash (’\’ \u005C). Values must be trimmed of whitespace before usage.
A String containing a comma must also be quoted, at least with a vector or an array (and a comma doesn't have to be escaped).
Is this a valid value, I really mean value : "Vector of ", with an ending space ? Maybe not all -the values have to be trimmed of whitespaces before usage- despite the above last phrase, only value received for a vector or an array.
No syntax explaining how to compose a VALUE in case of a vector or an array, only an example.
I propose a comma separated list of all elements. Only one comma allowed between elements, and whitespaces between elements must be ignored : 1, 2, 3, 4 Sunday, Monday, Tuesday, Wednesday
Is this value allowed for String[]{"", "", ""} (3 times the empty String) ? ,,,
Comment author: @bosschaert
Needs to be taken into account in the RFC 169 work.