<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;
color:black;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;
color:black;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Thanks Brent,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">You nailed it.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Actually, Scott said the same thing. It didn’t click for some reason!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">You guys are great.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">-Josh<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext"> users [mailto:users-bounces@shibboleth.net]
<b>On Behalf Of </b>Brent Putman<br>
<b>Sent:</b> Wednesday, February 10, 2016 1:53 PM<br>
<b>To:</b> users@shibboleth.net<br>
<b>Subject:</b> Re: IdPv3.2.1 Attribute-filter.xml stuck!<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">I think you're stilling missing a namespace decl up top for the default namespace. Like this, assuming that's the right namespace URI:
<br>
<br>
xmlns="urn:mace:shibboleth:2.0:afp"<br>
<br>
This is still namespace-qualified XML, with schema validation, so any used namespace prefixes, including the default one, need to be declared.<br>
<br>
<br>
<o:p></o:p></p>
<div>
<p class="MsoNormal">On 2/10/16 3:44 PM, O'Dowd, Josh wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre>I hear you on the xml editor. I use the latest version of eclipse's xml editor.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>I shortened the xml a bit more for this post:<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre><?xml version="1.0" encoding="UTF-8"?><o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre><AttributeFilterPolicyGroup xmlns:xsi=<a href="http://www.w3.org/2001/XMLSchema-instance">"http://www.w3.org/2001/XMLSchema-instance"</a><o:p></o:p></pre>
<pre> xsi:schemaLocation="urn:mace:shibboleth:2.0:afp <a href="http://shibboleth.net/schema/idp/shibboleth-afp.xsd">http://shibboleth.net/schema/idp/shibboleth-afp.xsd</a>"<o:p></o:p></pre>
<pre> id="ShibbolethFilterPolicy"><o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre> <!-- Release the transient ID to anyone --><o:p></o:p></pre>
<pre> <AttributeFilterPolicy id="releaseTransientIdToAnyone"><o:p></o:p></pre>
<pre> <PolicyRequirementRule xsi:type="ANY"/><o:p></o:p></pre>
<pre> <AttributeRule attributeID="transientId"><o:p></o:p></pre>
<pre> <PermitValueRule xsi:type="ANY"/><o:p></o:p></pre>
<pre> </AttributeRule><o:p></o:p></pre>
<pre> </AttributeFilterPolicy><o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre> <AttributeFilterPolicy id="releaseToAnyone"><o:p></o:p></pre>
<pre> <PolicyRequirementRule xsi:type="ANY" /><o:p></o:p></pre>
<pre> <AttributeRule attributeID="uid"><PermitValueRule xsi:type="ANY" /></AttributeRule><o:p></o:p></pre>
<pre> </AttributeFilterPolicy><o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre></AttributeFilterPolicyGroup><o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Idp restart. Log is showing the following error, which is really puzzling me since the AttributeFilterPolicyGroup element is definitely declared in the xsd:<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>2016-02-10 13:40:10,357 - ERROR [net.shibboleth.utilities.java.support.service.AbstractReloadableService:181] - Service 'shibboleth.AttributeFilterS<o:p></o:p></pre>
<pre>ervice': Initial load failed<o:p></o:p></pre>
<pre>net.shibboleth.utilities.java.support.service.ServiceException: org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 5 in XML<o:p></o:p></pre>
<pre> document from file [/opt/shibboleth-idp/conf/attribute-filter.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 5; co<o:p></o:p></pre>
<pre>lumnNumber: 30; cvc-elt.1: Cannot find the declaration of element 'AttributeFilterPolicyGroup'.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>-Josh<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre><o:p> </o:p></pre>
<pre><o:p> </o:p></pre>
<pre>-----Original Message-----<o:p></o:p></pre>
<pre>From: users [<a href="mailto:users-bounces@shibboleth.net">mailto:users-bounces@shibboleth.net</a>] On Behalf Of Cantor, Scott<o:p></o:p></pre>
<pre>Sent: Wednesday, February 10, 2016 12:35 PM<o:p></o:p></pre>
<pre>To: Shib Users <a href="mailto:users@shibboleth.net"><users@shibboleth.net></a><o:p></o:p></pre>
<pre>Subject: RE: IdPv3.2.1 Attribute-filter.xml stuck!<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre>I am also seeing this error:<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>cvc-elt.4.2: Cannot resolve 'ANY' to a type definition for element <o:p></o:p></pre>
<pre>'<a href="afp:PolicyRequirementRule">afp:PolicyRequirementRule</a>'.<o:p></o:p></pre>
</blockquote>
<pre><o:p> </o:p></pre>
<pre>That doesn't match the XML you posted (no afp: prefix in what you posted). Your issues are just XML and namespace correctness, so I suggest you try an XML editor. The schemaLocations in the new files are all usable to help validate from within editors like Oxygen.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>All you need is one xmlns declaration at the top with the one namespace used, and everything else should be doable now with no prefixes.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>-- Scott<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>--<o:p></o:p></pre>
<pre>To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.net</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>