From 15d5d811959af1b61f38458a60355c42fc338978 Mon Sep 17 00:00:00 2001 From: Ian Young Date: Tue, 1 Feb 2011 11:31:08 +0000 Subject: [PATCH] Rewrite to simplify the XSLT expressions and also make use of our own existing certificate normaliser rather than using str:tokenise from EXSLT. The resulting transform executes much more quickly and requires much less Java heap space. The results are not quite identical, in that certificates on output are now properly normalised to 64 characters per line. This is the same as is generated these days by our import transform, but there are some older entities which use different conventions. This is just a formatting issue, however, and behaviour is not affected. --- build/extract_embedded.xsl | 61 +++++++++++++++++++------------------- 1 file changed, 30 insertions(+), 31 deletions(-) diff --git a/build/extract_embedded.xsl b/build/extract_embedded.xsl index 0c702c84..9dc0d3bb 100644 --- a/build/extract_embedded.xsl +++ b/build/extract_embedded.xsl @@ -18,44 +18,43 @@ xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:wayf="http://sdss.ac.uk/2006/06/WAYF" - xmlns:str="http://exslt.org/strings" - exclude-result-prefixes="md ds wayf str"> + xmlns:mdxTextUtils="xalan://uk.ac.sdss.xalan.md.TextUtils"> - - - - - Entity: - - [ - - ] + + + + + + + + + Entity: + + [ + + ] + + + KeyName: + + + + + + (none) + + + + -----BEGIN CERTIFICATE----- + + + -----END CERTIFICATE----- - - KeyName: - - - - - - (none) - - - - -----BEGIN CERTIFICATE----- - - -----END CERTIFICATE----- - - - - -