W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > July to September 2001

RE: RFC2518 errata in boolean logic applied to untagged-token-lis t production?

From: Clemm, Geoff <gclemm@rational.com>
Date: Mon, 17 Sep 2001 13:42:25 -0400
Message-ID: <3906C56A7BD1F54593344C05BD1374B103F8ABD4@SUS-MA1IT01>
To: Webdav WG <w3c-dist-auth@w3c.org>
   From: Lisa Dusseault [mailto:lisa@xythos.com]

   Section 9.4.1 states that untagged tokens in a token list are to be OR'ed
   together:

   "If multiple No-tag-list productions are used then one only
      needs to match the state of the resource for the method to be allowed
      to continue."

This section states that multiple No-tag-list productions are ORed
together.  The individual tokens in a single No-tag-list production
are ANDed together.  Unfortunately, you can only infer this from
the examples (2518 really should be fixed to make this explicit!).

   However, section 9.4.3 throws "Not" into the mix and uses the word AND to
   describe the logic combining two untagged tokens:

   "If: (Not <locktoken:write1> <locktoken:write2>)

Only a list can be tagged, not a token.

      When submitted with a request, this If header requires that all
      operand resources must not be locked with locktoken:write1 and must
      be locked with locktoken:write2."

   I assume the last 'and' must be replaced with 'or'?

No, the "and" is correct.  List's are ORed together and tokens
are ANDed together.

Cheers,
Geoff
Received on Monday, 17 September 2001 13:42:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:43:56 GMT