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

 


Help: OASIS Mailing Lists Help | MarkMail Help

xacml-dev message

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


Subject: VariableDefinition (V2)




Hi,

I have a question regarding the VariableDefinition. What is the expected behavior when there are two VariableDefinition that references themselves? The code will throw a Stack Overflow, but I think the Response error will be processing-error.

The sample must be something like this:

...
    <VariableDefinition VariableId="urn:oasis:names:tc:xacml:2.0:conformance-test:IIF002:variable1">
        <Apply FunctionId="urn:oasis:names:tc:xacml:1.0:function:integer-add">
	        <AttributeValue
	              DataType="http://www.w3.org/2001/XMLSchema#integer";>2</AttributeValue>
	        <VariableReference
	              VariableId="urn:oasis:names:tc:xacml:2.0:conformance-test:IIF002:variable2"/>
        </Apply>
    </VariableDefinition>
    <VariableDefinition VariableId="urn:oasis:names:tc:xacml:2.0:conformance-test:IIF002:variable2">
        <Apply FunctionId="urn:oasis:names:tc:xacml:1.0:function:integer-add">
	        <AttributeValue
	              DataType="http://www.w3.org/2001/XMLSchema#integer";>2</AttributeValue>
	        <VariableReference
	              VariableId="urn:oasis:names:tc:xacml:2.0:conformance-test:IIF002:variable1"/>
        </Apply>
    </VariableDefinition>
...

Do you expect a more specific error?

Thanks,
Diego Gonzalez,
Lagash Systems SA


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