summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile3
-rw-r--r--xslt/normalize.xsl2
2 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 2370c899..29647d45 100644
--- a/Makefile
+++ b/Makefile
@@ -9,6 +9,7 @@ DATE=$(shell perl scripts/expiration_date.pl $(DAYS))
RPI=false
CONTACTS=false
TOU=true
+ORG=true
TRANSFORM=xslt/normalize.xsl
XSLTDEFS := --stringparam tou $(TOU) --stringparam rpi $(RPI) --stringparam defaultContact $(CONTACTS) --stringparam date $(DATE)
@@ -43,7 +44,7 @@ edugain:
$(MAKE) RPI=true CONTACTS=true swamid-edugain-testing-1.0.pub swamid-edugain-1.0.pub
projects:
- $(MAKE) RPI=false CONTACTS=false TOU=false swamid-fiv-test.pub
+ $(MAKE) RPI=false CONTACTS=false TOU=false ORG=false swamid-fiv-test.pub
swamid-externals: swamid-externals1 swamid-externals2
diff --git a/xslt/normalize.xsl b/xslt/normalize.xsl
index 7de5a90f..1abe4e05 100644
--- a/xslt/normalize.xsl
+++ b/xslt/normalize.xsl
@@ -64,7 +64,7 @@ If You do not accept these Terms, then You must not continue to use this Metadat
<md:Extensions><xsl:call-template name="add-swamid-rpi"/></md:Extensions>
</xsl:if>
<xsl:apply-templates select="text()|comment()|md:Extensions|md:RoleDescriptor|md:IDPSSODescriptor|md:SPSSODescriptor|md:AuthnAuthorityDescriptor|md:AttributeAuthorityDescriptor|md:PDPDescriptor|md:AffiliationDescriptor"/>
- <xsl:if test="not(md:Organization)">
+ <xsl:if test="$org='true' and not(md:Organization)">
<xsl:apply-templates select="document($orginfo)"/>
</xsl:if>
<xsl:if test="$defaultContact='true' and not(md:ContactPerson)">