Skip to content

Commit

Permalink
Bugzilla 741: use ukfedlabel namespace, not uklabel. Does not affect …
Browse files Browse the repository at this point in the history
…the output.
  • Loading branch information
iay committed Jun 16, 2010
1 parent d711d98 commit 4d3468d
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 37 deletions.
14 changes: 7 additions & 7 deletions build/test_master_unsigned.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:wayf="http://sdss.ac.uk/2006/06/WAYF"
xmlns:uklabel="http://ukfederation.org.uk/2006/11/label"
xmlns:ukfedlabel="http://ukfederation.org.uk/2006/11/label"

xmlns:date="http://exslt.org/dates-and-times"
xmlns:mdxDates="xalan://uk.ac.sdss.xalan.md.Dates"
Expand Down Expand Up @@ -89,20 +89,20 @@
</xsl:template>

<!--
Pass through certain uklabel namespace elements.
Pass through certain ukfedlabel namespace elements.
-->
<xsl:template match="uklabel:UKFederationMember |
uklabel:SDSSPolicy |
uklabel:AccountableUsers">
<xsl:template match="ukfedlabel:UKFederationMember |
ukfedlabel:SDSSPolicy |
ukfedlabel:AccountableUsers">
<xsl:copy>
<xsl:apply-templates select="node()|@*"/>
</xsl:copy>
</xsl:template>

<!--
Strip all other uklabel namespace elements entirely.
Strip all other ukfedlabel namespace elements entirely.
-->
<xsl:template match="uklabel:*">
<xsl:template match="ukfedlabel:*">
<!-- do nothing -->
</xsl:template>

Expand Down
16 changes: 8 additions & 8 deletions build/uk_master_back.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:wayf="http://sdss.ac.uk/2006/06/WAYF"
xmlns:uklabel="http://ukfederation.org.uk/2006/11/label"
xmlns:ukfedlabel="http://ukfederation.org.uk/2006/11/label"

xmlns:date="http://exslt.org/dates-and-times"
xmlns:exsl="http://exslt.org/common"
Expand Down Expand Up @@ -92,7 +92,7 @@
In general, at this stage in the flow we pass through any Extensions unaltered.
However, certain changes (such as the filtering we perform on extensions in the
uklabel namespace) may cause the Extensions element to become empty, which is not
ukfedlabel namespace) may cause the Extensions element to become empty, which is not
permitted by the schema. We therefore precompute the resulting Extensions element
and suppress it entirely if it would have no child elements.
-->
Expand All @@ -110,20 +110,20 @@
</xsl:template>

<!--
Pass through certain uklabel namespace elements.
Pass through certain ukfedlabel namespace elements.
-->
<xsl:template match="uklabel:UKFederationMember |
uklabel:SDSSPolicy |
uklabel:AccountableUsers">
<xsl:template match="ukfedlabel:UKFederationMember |
ukfedlabel:SDSSPolicy |
ukfedlabel:AccountableUsers">
<xsl:copy>
<xsl:apply-templates select="node()|@*"/>
</xsl:copy>
</xsl:template>

<!--
Strip all other uklabel namespace elements entirely.
Strip all other ukfedlabel namespace elements entirely.
-->
<xsl:template match="uklabel:*">
<xsl:template match="ukfedlabel:*">
<!-- do nothing -->
</xsl:template>

Expand Down
16 changes: 8 additions & 8 deletions build/uk_master_export.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:wayf="http://sdss.ac.uk/2006/06/WAYF"
xmlns:uklabel="http://ukfederation.org.uk/2006/11/label"
xmlns:ukfedlabel="http://ukfederation.org.uk/2006/11/label"

xmlns:date="http://exslt.org/dates-and-times"
xmlns:exsl="http://exslt.org/common"
Expand Down Expand Up @@ -109,7 +109,7 @@
In general, at this stage in the flow we pass through any Extensions unaltered.
However, certain changes (such as the filtering we perform on extensions in the
uklabel namespace) may cause the Extensions element to become empty, which is not
ukfedlabel namespace) may cause the Extensions element to become empty, which is not
permitted by the schema. We therefore precompute the resulting Extensions element
and suppress it entirely if it would have no child elements.
-->
Expand Down Expand Up @@ -153,24 +153,24 @@
There must be at least one of these, or the output will
not be schema-valid.
-->
<xsl:template match="md:EntityDescriptor[not(md:Extensions/uklabel:ExportOptIn)]">
<xsl:template match="md:EntityDescriptor[not(md:Extensions/ukfedlabel:ExportOptIn)]">
<!-- do nothing -->
</xsl:template>

<!--
Pass through certain uklabel namespace elements.
Pass through certain ukfedlabel namespace elements.
-->
<xsl:template match="uklabel:UKFederationMember |
uklabel:AccountableUsers">
<xsl:template match="ukfedlabel:UKFederationMember |
ukfedlabel:AccountableUsers">
<xsl:copy>
<xsl:apply-templates select="node()|@*"/>
</xsl:copy>
</xsl:template>

<!--
Strip all other uklabel namespace elements entirely.
Strip all other ukfedlabel namespace elements entirely.
-->
<xsl:template match="uklabel:*">
<xsl:template match="ukfedlabel:*">
<!-- do nothing -->
</xsl:template>

Expand Down
14 changes: 7 additions & 7 deletions build/uk_master_test.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:wayf="http://sdss.ac.uk/2006/06/WAYF"
xmlns:uklabel="http://ukfederation.org.uk/2006/11/label"
xmlns:ukfedlabel="http://ukfederation.org.uk/2006/11/label"

xmlns:date="http://exslt.org/dates-and-times"
xmlns:exsl="http://exslt.org/common"
Expand Down Expand Up @@ -110,7 +110,7 @@
In general, at this stage in the flow we pass through any Extensions unaltered.
However, certain changes (such as the filtering we perform on extensions in the
uklabel namespace) may cause the Extensions element to become empty, which is not
ukfedlabel namespace) may cause the Extensions element to become empty, which is not
permitted by the schema. We therefore precompute the resulting Extensions element
and suppress it entirely if it would have no child elements.
-->
Expand All @@ -128,19 +128,19 @@
</xsl:template>

<!--
Pass through certain uklabel namespace elements.
Pass through certain ukfedlabel namespace elements.
-->
<xsl:template match="uklabel:UKFederationMember |
uklabel:AccountableUsers">
<xsl:template match="ukfedlabel:UKFederationMember |
ukfedlabel:AccountableUsers">
<xsl:copy>
<xsl:apply-templates select="node()|@*"/>
</xsl:copy>
</xsl:template>

<!--
Strip all other uklabel namespace elements entirely.
Strip all other ukfedlabel namespace elements entirely.
-->
<xsl:template match="uklabel:*">
<xsl:template match="ukfedlabel:*">
<!-- do nothing -->
</xsl:template>

Expand Down
14 changes: 7 additions & 7 deletions build/uk_master_unsigned.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:wayf="http://sdss.ac.uk/2006/06/WAYF"
xmlns:uklabel="http://ukfederation.org.uk/2006/11/label"
xmlns:ukfedlabel="http://ukfederation.org.uk/2006/11/label"

xmlns:date="http://exslt.org/dates-and-times"
xmlns:exsl="http://exslt.org/common"
Expand Down Expand Up @@ -86,7 +86,7 @@
In general, at this stage in the flow we pass through any Extensions unaltered.
However, certain changes (such as the filtering we perform on extensions in the
uklabel namespace) may cause the Extensions element to become empty, which is not
ukfedlabel namespace) may cause the Extensions element to become empty, which is not
permitted by the schema. We therefore precompute the resulting Extensions element
and suppress it entirely if it would have no child elements.
-->
Expand All @@ -104,19 +104,19 @@
</xsl:template>

<!--
Pass through certain uklabel namespace elements.
Pass through certain ukfedlabel namespace elements.
-->
<xsl:template match="uklabel:UKFederationMember |
uklabel:AccountableUsers">
<xsl:template match="ukfedlabel:UKFederationMember |
ukfedlabel:AccountableUsers">
<xsl:copy>
<xsl:apply-templates select="node()|@*"/>
</xsl:copy>
</xsl:template>

<!--
Strip all other uklabel namespace elements entirely.
Strip all other ukfedlabel namespace elements entirely.
-->
<xsl:template match="uklabel:*">
<xsl:template match="ukfedlabel:*">
<!-- do nothing -->
</xsl:template>

Expand Down

0 comments on commit 4d3468d

Please sign in to comment.