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

 


Help: OASIS Mailing Lists Help | MarkMail Help

xacml-comment message

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


Subject: Public review comments for xacml-json-http-v1.0-csprd03: 4.2.2.1 Shorthand notation for standard XACML categories


IMPORTANT NOTE: Please make sure that you are subscribed to the xacml-comment@lists.oasis-open.org mailing list before submitting feedback with this form. For instructions on subscribing see https://www.oasis-open.org/committees/comments/index.php?wg_abbrev=xacml.

Comment type [editorial | technical] ? technical

Impact [major | minor] ? major?

The simplest and least confusing (to people) way to handle shorthand values is to just take the text after the last colon in the XML definition.  This also gives a standard way to handle non-standard custom identifiers and future-proofs code against new categories added later. 

While the document never gives a reason for allowing shorthand notations, it is mentioned that they are a “convenience”.  For us, mapping

            some:very:long:name:category-name    to    category-name

is more convenient than mapping it to CategoryName because there are fewer translation rules that need to be remembered.

By using text different from the original XML, this forces implementers to either hard-code these as special cases or implement an algorithm that is more complex than necessary.  For people this adds another mapping they have to remember.  It also makes the JSON less consistent with the XML, possibly adding confusion to conversations between implementers.

Please use the last component of the XML definition as the shorthand and not create new values.



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