OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

cti-comment message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: two minor comments on Part 3 and Part 5


1) In part 3, section 2.5, the hashes type was copied from the dictionary type (2.3), but failed to bring over the restrictions on what are valid keys.  This will cause a problem as now spaces are valid in hashes, but in patterning, we will not require quoting, which will cause major pain.
Proposed fix is to add the following text:
Keys MUST be unique in each dictionary, MUST be in ASCII, and are limited to the characters a-z (lowercase ASCII), A-Z (uppercase ASCII), numerals 0-9, hyphen (-), and underscore (_). Hashes keys SHOULD be no longer than 30 ASCII characters in length, MUST have a minimum length of 3 ASCII characters, MUST be no longer than 256 ASCII characters in length

2) In part 5, section 5, the property name quoting is specified as double quotes (U+0022). This is both different than other strings, and will cause extra quoting due to JSON using double quotes as string delimiters. The proposal is to change to single quotes (U+0027) to simplify things.

John-Mark


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]