Skip to content

Commit

Permalink
Hoist "alg" namespace in production aggregates
Browse files Browse the repository at this point in the history
Phase two of ukf/ukf-meta#98.
  • Loading branch information
iay committed Apr 20, 2021
1 parent eeb8dff commit aa82f6c
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 53 deletions.
15 changes: 7 additions & 8 deletions mdx/uk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,9 @@ before being included in the `export` version consumed by interfederation partne

### Export Preview Aggregate vs. Export Aggregate

Status (2021-02-23):
Status (2021-04-14):

* The `export-preview` aggregate declares the `alg` namespace on the document element,
rather than on each `<DigestMethod>` or `<SigningMethod>` element.
* These aggregates are currently identical.

## Production Maturity Pipeline

Expand Down Expand Up @@ -60,16 +59,13 @@ when it appeared in the fallback aggregate, which would be too late to take corr

### Test Aggregate vs. Production Aggregate

Status (2021-02-23):
Status (2021-04-14):

* The `test` aggregate does not include the `<UKFederationMember>` label (`ukf-meta#34`).

* The `test` aggregate does not include the entity-level copy of the scopes for an
identity provider (`ukf-meta#49`).

* The `test` aggregate declares the `alg` namespace on the document element,
rather than on each `<DigestMethod>` or `<SigningMethod>` element.

### `cds-all` Aggregate vs. Production Aggregate

Status (2017-12-05):
Expand All @@ -80,7 +76,10 @@ Status (2017-12-05):

### Fallback Aggregate vs. Production Aggregate

Status (2021-02-23):
Status (2021-04-14):

* The `production` aggregate adds `<EncryptionMethod>` elements with AES128-CBC
to SPs that have no block encryption methods listed

* The `production` aggregate declares the `alg` namespace on the document element,
rather than on each `<DigestMethod>` or `<SigningMethod>` element.
2 changes: 1 addition & 1 deletion mdx/uk/ns_norm_cds.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
xmlns:shibmd="urn:mace:shibboleth:metadata:1.0"
xmlns:ukfedlabel="http://ukfederation.org.uk/2006/11/label"

exclude-result-prefixes="alg ds init md mdattr saml shibmd ukfedlabel xsi"
exclude-result-prefixes="ds init md mdattr saml shibmd ukfedlabel xsi"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns="urn:oasis:names:tc:SAML:2.0:metadata">
Expand Down
23 changes: 1 addition & 22 deletions mdx/uk/ns_norm_export.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
xmlns:ukfedlabel="http://ukfederation.org.uk/2006/11/label"
xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"

exclude-result-prefixes="alg md ukfedlabel xenc"
exclude-result-prefixes="md ukfedlabel xenc"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns="urn:oasis:names:tc:SAML:2.0:metadata">
Expand Down Expand Up @@ -87,27 +87,6 @@
</xsl:template>


<!--
*************************************
*** ***
*** A L G N A M E S P A C E ***
*** ***
*************************************
-->


<!--
alg:*
Normalise namespace to not use a prefix.
-->
<xsl:template match="alg:*">
<xsl:element name="{local-name()}" namespace="urn:oasis:names:tc:SAML:metadata:algsupport">
<xsl:apply-templates select="node()|@*"/>
</xsl:element>
</xsl:template>


<!--
***************************************
*** ***
Expand Down
23 changes: 1 addition & 22 deletions mdx/uk/ns_norm_uk.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
xmlns:ukfedlabel="http://ukfederation.org.uk/2006/11/label"
xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"

exclude-result-prefixes="alg md xenc"
exclude-result-prefixes="md xenc"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns="urn:oasis:names:tc:SAML:2.0:metadata">
Expand Down Expand Up @@ -93,27 +93,6 @@
</xsl:template>


<!--
*************************************
*** ***
*** A L G N A M E S P A C E ***
*** ***
*************************************
-->


<!--
alg:*
Normalise namespace to not use a prefix.
-->
<xsl:template match="alg:*">
<xsl:element name="{local-name()}" namespace="urn:oasis:names:tc:SAML:metadata:algsupport">
<xsl:apply-templates select="node()|@*"/>
</xsl:element>
</xsl:template>


<!--
***************************************
*** ***
Expand Down

0 comments on commit aa82f6c

Please sign in to comment.