Skip to content

Commit

Permalink
Update script to latest Xalan.
Browse files Browse the repository at this point in the history
  • Loading branch information
iay committed Aug 14, 2009
1 parent e377b9e commit d6af9b2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build/check_entity.pl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
unlink($temp) if -e $temp;

# extract embedded certificates
open(EXTRACT, "java -cp ../xalan-j_2_6_0/bin/xalan.jar org.apache.xalan.xslt.Process -IN $fn -OUT $temp -XSL extract_embedded.xsl|")
open(EXTRACT, "java -Djava.endorsed.dirs=../tools/xalan/endorsed org.apache.xalan.xslt.Process -IN $fn -OUT $temp -XSL extract_embedded.xsl|")
|| die "could not open certificate extract process";
while (<EXTRACT>) {
print $_;
Expand Down
2 changes: 1 addition & 1 deletion build/extract_locs.pl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/perl -w

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_locs.xsl|") || die "could not open input file";
open(XML,"java -Djava.endorsed.dirs=../tools/xalan/endorsed org.apache.xalan.xslt.Process -IN ../xml/ukfederation-metadata-unsigned.xml -XSL extract_locs.xsl|") || die "could not open input file";
while (<XML>) {
chop;
if (/^https:\/\/([^\/:]+(:\d+)?)(\/|$)/) {
Expand Down
2 changes: 1 addition & 1 deletion build/probe_certs.pl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/perl -w

open(XML,"java -cp ../xalan-j_2_6_0/bin/xalan.jar org.apache.xalan.xslt.Process -IN ../xml/ukfederation-metadata.xml -XSL extract_cert_locs.xsl|") || die "could not open input file";
open(XML,"java -Djava.endorsed.dirs=../tools/xalan/endorsed org.apache.xalan.xslt.Process -IN ../xml/ukfederation-metadata.xml -XSL extract_cert_locs.xsl|") || die "could not open input file";
while (<XML>) {
if (/^http:/) {
print "skipping http location: $_";
Expand Down
2 changes: 1 addition & 1 deletion build/probe_nocerts.pl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

$known_bad{'census.data-archive.ac.uk:8080'} = 1; # it is really http, not https

open(XML,"java -cp ../xalan-j_2_6_0/bin/xalan.jar org.apache.xalan.xslt.Process -IN ../xml/ukfederation-metadata.xml -XSL extract_nocert_locs.xsl|") || die "could not open input file";
open(XML,"java -Djava.endorsed.dirs=../tools/xalan/endorsed org.apache.xalan.xslt.Process -IN ../xml/ukfederation-metadata.xml -XSL extract_nocert_locs.xsl|") || die "could not open input file";
while (<XML>) {
chop;
if (/^http:/) {
Expand Down

0 comments on commit d6af9b2

Please sign in to comment.