[JIRA] Commented: (MDA-49) add stage to remove empty Extensions element

Ian Young (JIRA) noreply at shibboleth.net
Wed Sep 14 17:12:26 BST 2011


    [ https://issues.shibboleth.net/jira/browse/MDA-49?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13565#comment-13565 ] 

Ian Young commented on MDA-49:
------------------------------

I have a working version of this in the UKf project.  I will hang on to it there until we get closer to 0.7 so that I can beat up on it in our production environment.

> 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