From 9c5fefb2c66f1b5158920689d99b1c5ff544d1e7 Mon Sep 17 00:00:00 2001 From: Ian Young Date: Mon, 25 Jul 2011 11:08:34 +0000 Subject: [PATCH] Migrate the mailing list check to using the new flow.uk.collect system rather than the file that came out by accident in the old system. This requires not removing administrative contacts prematurely during fragment processing but instead doing that explicitly via a new XSLT stage during the generate flow. --- build.xml | 2 +- build/addresses.pl | 2 +- mdx/uk/beans.xml | 16 ++++++++++++++ mdx/uk/fragment.xsl | 6 ------ mdx/uk/generate.xml | 5 +++++ mdx/uk/strip_admin.xsl | 48 ++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 71 insertions(+), 8 deletions(-) create mode 100644 mdx/uk/strip_admin.xsl diff --git a/build.xml b/build.xml index 4d973d19..5ed6a066 100644 --- a/build.xml +++ b/build.xml @@ -1231,7 +1231,7 @@ - + Checking mailing list entries. diff --git a/build/addresses.pl b/build/addresses.pl index e992a1ed..4fbcc1be 100755 --- a/build/addresses.pl +++ b/build/addresses.pl @@ -33,7 +33,7 @@ # # UK addresses # -open(XML, xalanCall . " -IN ../xml/ukfederation-metadata-master.xml -XSL extract_addresses.xsl|") || die "could not open input file"; +open(XML, xalanCall . " -IN ../mdx/uk/collected.xml -XSL extract_addresses.xsl|") || die "could not open input file"; while () { if (/(mailto:)?(.*)<\/EmailAddress>/) { $metadata{$2} = 1; diff --git a/mdx/uk/beans.xml b/mdx/uk/beans.xml index 1d7efc80..41fb3803 100644 --- a/mdx/uk/beans.xml +++ b/mdx/uk/beans.xml @@ -188,6 +188,22 @@ + + + + + + + + + + + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + +