Where Do Schema Come From?
Klingenstein, Nate
nklingenstein at calstate.edu
Mon Nov 28 15:09:38 EST 2016
> There are no changes to namespaces or schema declarations that I'm aware of
> so I don't know what you're asking about. If something broke, we have a bug.
Nothing "broke" except being unable to use the examples in the documentation verbatim(and a big thanks to Rod for going through this this morning). Let me try restating.
I want to convert my old format attribute-resolver.xml to the new format.
I think that means A) using the new schema for validation and B) changing the namespaces and configuration itself.
I know how to change the namespaces and config. I don't know whether I need to do anything to slurp in the new schema, whether I inadvertently hardcoded it by checking in too much 3.2.1 config, or so forth.
If I swap the
<resolver:AttributeResolver
xmlns:resolver="urn:mace:shibboleth:2.0:resolver"
xmlns:pc="urn:mace:shibboleth:2.0:resolver:pc"
xmlns:ad="urn:mace:shibboleth:2.0:resolver:ad"
xmlns:dc="urn:mace:shibboleth:2.0:resolver:dc"
xmlns:enc="urn:mace:shibboleth:2.0:attribute:encoder"
xmlns:sec="urn:mace:shibboleth:2.0:security"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
="urn:mace:shibboleth:2.0:resolver http://shibboleth.net/schema/idp/shibboleth-attribute-resolver.xsd
urn:mace:shibboleth:2.0:resolver:pc http://shibboleth.net/schema/idp/shibboleth-attribute-resolver-pc.xsd
urn:mace:shibboleth:2.0:resolver:ad http://shibboleth.net/schema/idp/shibboleth-attribute-resolver-ad.xsd
urn:mace:shibboleth:2.0:resolver:dc http://shibboleth.net/schema/idp/shibboleth-attribute-resolver-dc.xsd
urn:mace:shibboleth:2.0:attribute:encoder http://shibboleth.net/schema/idp/shibboleth-attribute-encoder.xsd
urn:mace:shibboleth:2.0:security http://shibboleth.net/schema/idp/shibboleth-security.xsd">
declaration from a 3.2.1 stock file for the 3.3.0 declaration
<AttributeResolver
xmlns="urn:mace:shibboleth:2.0:resolver"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:mace:shibboleth:2.0:resolver http://shibboleth.net/schema/idp/shibboleth-attribute-resolver.xsd">
Am I done? I presumed not given that the URN and URL are both identical and already declared, so I would have figured all the other namespaces and schema to be irrelevant cruft, so I would have figured I didn't need to touch this.
If this is all down to the default namespace declaration that is in 3.3 and not in 3.2.1, I'm going to need more milk to cry in.
More information about the users
mailing list