Skip to content

Commit

Permalink
Hoist "alg" namespace in fallback aggregate
Browse files Browse the repository at this point in the history
Phase three (final) of ukf/ukf-meta#98.
  • Loading branch information
iay committed Apr 28, 2021
1 parent f8069bb commit 842892f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 25 deletions.
3 changes: 0 additions & 3 deletions mdx/uk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,3 @@ Status:

* 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.
23 changes: 1 addition & 22 deletions mdx/uk/ns_norm_back.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
exclude-result-prefixes="alg md xenc"
exclude-result-prefixes="md xenc"
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 842892f

Please sign in to comment.