<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 12px; font-family: Consolas, sans-serif;">
<div>
<div>
<div>Hi,</div>
<div><br>
</div>
<div>Doesn't</div>
<div><span style="font-family: Consolas; font-size: medium;"> <basic:Rule xsi:type="basic:OR"></span></div>
<div><br>
</div>
<div>want to be </div>
<div><span style="font-family: Consolas; font-size: medium;"> </span><afp:PermitValueRule xsi:type="basic:OR"></div>
<div><br>
</div>
<div>?</div>
<div><br>
</div>
<div>
<div id="MAC_OUTLOOK_SIGNATURE">
<div>
<div>-- </div>
<div>Luca Filipozzi, UBC IT Enterprise Architecture</div>
</div>
</div>
</div>
</div>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div>
<div>On 2015-03-27, 21:57, "Joshua Brodie" <<a href="mailto:josbrodie@gmail.com">josbrodie@gmail.com</a>> wrote:</div>
</div>
<div><br>
</div>
<blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;">
<div>
<div>
<div dir="ltr">
<div>Hi:<br>
<br>
</div>
The following to attribute-filter.xml - but the error below was obtained on IdP - did I miss something obvious?<br>
<div>
<div>
<div><br>
<afp:AttributeRule attributeID="eduPersonEntitlement"><br>
<basic:Rule xsi:type="basic:OR"><br>
<basic:Rule xsi:type="basic:AttributeValueRegex" regex="FOO" /><br>
<basic:Rule xsi:type="basic:AttributeValueRegex" regex="BAR" /><br>
</basic:Rule><br>
</PolicyRequirementRule><br>
<br>
<br>
IdP Logs:<br>
<br>
<tt>Configuration was not loaded for shibboleth.AttributeFilterEngine service, error creating components. The root cause of this error was: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'basic:Rule'.
One of '{"urn:mace:shibboleth:2.0:afp":PermitValueRule, "urn:mace:shibboleth:2.0:afp":PermitValueRuleReference, "urn:mace:shibboleth:2.0:afp":DenyValueRule, "urn:mace:shibboleth:2.0:afp":DenyValueRuleReference}' is expected.</tt><br>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</span>
</body>
</html>