xml question about conf files

Cantor, Scott cantor.2 at osu.edu
Fri Mar 14 16:49:49 EDT 2014


On 3/14/14, 3:10 PM, "Joy Veronneau" <jv11 at cornell.edu> wrote:

>I have to change it to remove the "metadata:" part at the beginning.

You can fix the XML to be consistent in the use of namespaces, whatever
you prefer. One of the two didn't have a default namespace declared. The
MetadataProvider element itself is in the
"urn:mace:shibboleth:2.0:metadata" namespace, and what you posted can't
actually be true. If you removed the prefix, your PROD declarations would
cause it to break, because it would treat the element as part of the
relying party namespace.

You should rationalize things and make sure you know what namespaces are
actually declared and make them consistent.

>So I am wondering what I need to do to make the two relying-party.xml
>files more compatable xml-wise? It seems like the test idp understands a
>syntax that production doesn't.

Nope. These are just standard XML namespace alternatives. If you need
assistance with XML namespace rules, try the w3schools.com tutorials,
they're short and pretty good.

-- Scott




More information about the users mailing list