On Tue, 26 Nov 2002, John Merrells wrote:
>
> The policy uses string-equal as if the args were (bag<string>,string),
> this should
> probably be using the any-of method...
>
> <Condition
> FunctionId="urn:oasis:names:tc:xacml:1.0:function:string-equal">
> <SubjectAttributeDesignator
>
> AttributeId="urn:oasis:names:tc:xacml:1.0:conformance-tests:bogus"
> DataType="http://www.w3.org/2001/XMLSchema#string"/>
> <AttributeValue
>
> DataType="http://www.w3.org/2001/XMLSchema#string">Zaphod
> Beeblebrox</AttributeValue>
>
> I bet this snippet was cut from a Target and pasted into a Condition.
> This is exactly the problem I was talking about yesterday...
Yes, people must be careful when they cut & paste. It's probably the most
common error. However, any good compiler/interpreter would catch this
error, just like any other programming language. The expression is type
incorrect.
Cheers,
-Polar
> John
>
>
> ----------------------------------------------------------------
> To subscribe or unsubscribe from this elist use the subscription
> manager: <http://lists.oasis-open.org/ob/adm.pl>
>