From d8b5763584b0b77180329da46106028a253f8afd Mon Sep 17 00:00:00 2001 From: Ian Young Date: Tue, 31 Jan 2012 20:00:33 +0000 Subject: [PATCH] Bugzilla 896: check that existing mdrpi metadata on import matches the source Made a checking framework for this, and applied it to the ie_edugate channel (which doesn't yet have such metadata, but which we import) and the hu_eduid channel (which we don't import, but does have the metadata). --- mdx/check_regauth.xsl | 42 ++++++++++++++++++++++++++++++++++++++++ mdx/hu_eduid/beans.xml | 25 ++++++++++++++++++++++++ mdx/ie_edugate/beans.xml | 26 +++++++++++++++++++++++++ mdx/validation-beans.xml | 17 ++++++++++++++++ 4 files changed, 110 insertions(+) create mode 100644 mdx/check_regauth.xsl diff --git a/mdx/check_regauth.xsl b/mdx/check_regauth.xsl new file mode 100644 index 00000000..80518ecb --- /dev/null +++ b/mdx/check_regauth.xsl @@ -0,0 +1,42 @@ + + + + + + + + + (value not set) + + + + + + unexpected registration authority ' + + '; expected ' + + ' for this channel + + + + + + diff --git a/mdx/hu_eduid/beans.xml b/mdx/hu_eduid/beans.xml index c4ed6768..a1bbee5d 100644 --- a/mdx/hu_eduid/beans.xml +++ b/mdx/hu_eduid/beans.xml @@ -50,6 +50,30 @@ + + + + + + + + + + + + + + + @@ -74,6 +98,7 @@ + diff --git a/mdx/ie_edugate/beans.xml b/mdx/ie_edugate/beans.xml index 5d50aee6..2bf52839 100644 --- a/mdx/ie_edugate/beans.xml +++ b/mdx/ie_edugate/beans.xml @@ -75,6 +75,30 @@ + + + + + + + + + + + + + + + @@ -96,6 +120,7 @@ + @@ -122,6 +147,7 @@ + diff --git a/mdx/validation-beans.xml b/mdx/validation-beans.xml index 65c1d83e..b4200b40 100644 --- a/mdx/validation-beans.xml +++ b/mdx/validation-beans.xml @@ -164,6 +164,23 @@ + + + + + + + + +