V3.2 - attribute-filter- Cannot find the declaration of element 'AttributeFilterPolicyGroup'.

Andrew Morgan morgan at orst.edu
Mon Dec 14 19:57:03 EST 2015


On Mon, 14 Dec 2015, Vignesh, Vanna G. wrote:

> Idp-process logs error has -
> Line 5 in XML document from file [/opt/shibboleth-idp/conf/attribute-filter.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 4; columnNumber: 110; cvc-elt.1: Cannot find the declaration of element 'AttributeFilterPolicyGroup'.
>
> Here is the entire file contents.
>
> <?xml version="1.0" encoding="UTF-8"?>
> <AttributeFilterPolicyGroup id="ShibbolethFilterPolicy"
>        xmlns:afp="urn:mace:shibboleth:2.0:afp"  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

Change the above line to read:

         xmlns="urn:mace:shibboleth:2.0:afp"  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

Without the afp schema defined as the default namespace, your elements 
must contain the namespace prefix "afp:".  Setting afp as the default 
should let the rest of your file load.

Be careful what you cut and paste from different sources!  :)

 	Andy


More information about the users mailing list