From ae08455b815260bf2c4d4b19e374b00b47d19f05 Mon Sep 17 00:00:00 2001 From: Björn Mattsson Date: Wed, 19 May 2021 12:23:53 +0200 Subject: Updated Makefile and xslt/add-rpi.xsl to get registrationInstant added on new files --- Makefile | 4 ++-- swamid-2.0/test5.release-check.swamid.se-shibboleth.xml | 2 +- xslt/add-rpi.xsl | 4 +++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 052dee46..19917e27 100644 --- a/Makefile +++ b/Makefile @@ -107,7 +107,7 @@ clean: @rm -f *.xml *.tbs *.n *.sig tidy: - @for x in `find $(SRCDIRS) -name \*.xml`; do xsltproc xslt/add-rpi.xsl $$x > $$x.c && mv $$x.c $$x; done + @for x in `find $(SRCDIRS) -name \*.xml`; do xsltproc --stringparam regDate $(NOW) xslt/add-rpi.xsl $$x > $$x.c && mv $$x.c $$x; done @for x in `find $(SRCDIRS) -name \*.xml`; do xsltproc xslt/clean-entitydescriptor.xsl $$x > $$x.c && mv $$x.c $$x; done testMetadataUsage: @@ -286,7 +286,7 @@ test2: $(SWAMIDXML) schematest testEntCat testSimpleSign testALlevel testEduGAIN @xmllint --xinclude --nowarning --noout --path schema --schema schema.xsd $< 2>&1 @# make tidy - @xsltproc xslt/add-rpi.xsl $< > $<.c && mv $<.c $< + @xsltproc --stringparam regDate $(NOW) xslt/add-rpi.xsl $< > $<.c && mv $<.c $< @xsltproc xslt/clean-entitydescriptor.xsl $< > $<.c && mv $<.c $< @# make testMDUI diff --git a/swamid-2.0/test5.release-check.swamid.se-shibboleth.xml b/swamid-2.0/test5.release-check.swamid.se-shibboleth.xml index e2b4ec0d..2a7e8631 100644 --- a/swamid-2.0/test5.release-check.swamid.se-shibboleth.xml +++ b/swamid-2.0/test5.release-check.swamid.se-shibboleth.xml @@ -2,7 +2,7 @@ - + http://swamid.se/policy/mdrps diff --git a/xslt/add-rpi.xsl b/xslt/add-rpi.xsl index 687ba626..3e928716 100644 --- a/xslt/add-rpi.xsl +++ b/xslt/add-rpi.xsl @@ -36,7 +36,9 @@ - + + http://www.swamid.se/ + http://swamid.se/policy/mdrps -- cgit v1.2.3