Skip to content

Commit

Permalink
Use the signed UK federation metadata instead of unsigned. No longer …
Browse files Browse the repository at this point in the history
…try and look at SDSS metadata.
  • Loading branch information
iay committed Oct 21, 2007
1 parent a6bac66 commit 3ee867c
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions build/addresses.pl
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,9 @@
#
# Exclude support addresses using some XSLT magic.
#
# SDSS addresses
#
open(XML,"java -cp ../xalan-j_2_6_0/bin/xalan.jar org.apache.xalan.xslt.Process -IN ../xml/sdss-metadata-unsigned.xml -XSL extract_addresses.xsl|") || die "could not open input file";
while (<XML>) {
if (/<EmailAddress>(mailto:)?(.*)<\/EmailAddress>/) {
$metadata{$2} = 1;
}
}
close XML;
#
# UK addresses
#
open(XML,"java -cp ../xalan-j_2_6_0/bin/xalan.jar org.apache.xalan.xslt.Process -IN ../xml/ukfederation-metadata-unsigned.xml -XSL extract_addresses.xsl|") || die "could not open input file";
open(XML,"java -cp ../xalan-j_2_6_0/bin/xalan.jar org.apache.xalan.xslt.Process -IN ../xml/ukfederation-metadata.xml -XSL extract_addresses.xsl|") || die "could not open input file";
while (<XML>) {
if (/<EmailAddress>(mailto:)?(.*)<\/EmailAddress>/) {
$metadata{$2} = 1;
Expand Down

0 comments on commit 3ee867c

Please sign in to comment.