[JIRA] Created: (MDA-49) add stage to remove empty Extensions element
Ian Young (JIRA)
noreply at shibboleth.net
Wed Sep 14 15:14:25 BST 2011
add stage to remove empty Extensions element
--------------------------------------------
Key: MDA-49
URL: https://issues.shibboleth.net/jira/browse/MDA-49
Project: Metadata Aggregator
Issue Type: New Feature
Components: SAML Metadata
Affects Versions: 0.6
Reporter: Ian Young
Assignee: Ian Young
Fix For: 0.7
The general Extensions element in SAML metadata has a requirement that it contain at least one child element. This leaves any code which modifies an Extensions element by removing a child element with the possibility that a schema-invalid document may result.
One approach to this is to impose the burden of ensuring schema validity on every stage which performs any manipulation on SAML metadata, which might work in some cases but can be quite onerous.
Another approach is to provide a general stage which can fix up any Extensions elements which have become schema-invalid through whatever means. This needs to be called only once, at the end of a series of potentially disturbing actions.
Assigning this to myself; I plan to prototype an implementation in the UKf context.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the commits
mailing list