Skip to content

Commit

Permalink
Remove dead EXSLT dyn code from statistics stylesheet
Browse files Browse the repository at this point in the history
Resolves ukf/ukf-meta#435.
  • Loading branch information
iay committed Jun 27, 2024
1 parent 2eea3bf commit 87780af
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions mdx/uk/statistics.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,9 @@
xmlns:ukfedlabel="http://ukfederation.org.uk/2006/11/label"
xmlns:math="http://exslt.org/math"
xmlns:date="http://exslt.org/dates-and-times"
xmlns:dyn="http://exslt.org/dynamic"
xmlns:set="http://exslt.org/sets"
xmlns:idpdisc="urn:oasis:names:tc:SAML:profiles:SSO:idp-discovery-protocol"
exclude-result-prefixes="xsl alg ds init md mdattr mdui saml xsi members ukfedlabel math date dyn set idpdisc"
exclude-result-prefixes="xsl alg ds init md mdattr mdui saml xsi members ukfedlabel math date set idpdisc"
version="1.0">

<xsl:output method="html" omit-xml-declaration="yes"/>
Expand Down Expand Up @@ -84,11 +83,6 @@
<xsl:variable name="federationMemberEntityCount"
select="count($entities[md:Extensions/ukfedlabel:UKFederationMember])"/>

<xsl:variable name="memberEntities"
select="dyn:closure($members/members:Name, '$entities[md:Organization/md:OrganizationName = current()]')"/>
<xsl:variable name="memberEntityCount"
select="dyn:sum($memberNames, 'count($entities[md:Organization/md:OrganizationName = current()])')"/>

<xsl:variable name="idps.artifact"
select="$idps[md:IDPSSODescriptor[md:ArtifactResolutionService]]"/>
<xsl:variable name="idps.artifact.count" select="count($idps.artifact)"/>
Expand Down

0 comments on commit 87780af

Please sign in to comment.