On 5/8/13 8:34 PM, Y. Richard Yang wrote:
>> On the substance of the question, I believe it's essential to have the
>> syntax flexible enough to reflect proper semantics. However -- forgive
>> the JavaScript speak --  with the current specification the distinction
>> between "leaf" and "container" would basically require a check on
>> (media-types.length == 1), while with the proposed change it would turn
>> out to (typeof media-types == "string"), correct?
> 
> It can be more complex. For example,  the just submitted version allows
> IRD to announce multipe cost types of an unfiltered cost map with a
> single media type. Hence we have a case that media-types has a length of
> 1 but we do not have a leaf node.

Right, didn't think of that.

I agree that current spec is suboptimal for such a case. Can't tell
whether the gain from an extended spec is worth the added complexity.
Would love to hear from implementors.

Enrico


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
alto mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/alto

Reply via email to