Hi,

Yesterday I came across the following doubt regarding pres-rules
documents and conditions:

According to the schema on RFC4745, the conditions element has a
min-coccurs of 0, so someone could add a rule without any condition at
all.

Now, section 10 says the following: "A rule matches if all conditions
contained as child elements in the <conditions> element of a rule
evaluate to TRUE." every children defined for a condition element
(identity, validity, sphere and others) define a min-occurs of 0, so
it would also be possible to get an empty conditions element.

I wouldn't match that rule if any of these two cases, but someone
might think that "the lack of conditions (condition element children)
means that it's true always". Any thoughts on this?


Regards,

-- 
/Saúl
http://saghul.net | http://sipdoc.net

_______________________________________________
Sip-implementors mailing list
Sip-implementors@lists.cs.columbia.edu
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to