← Prev in month
← Prev in thread
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
← Prev in month
← Prev in thread