From e9225d1362725a8b912c611d9c6d41488a98063d Mon Sep 17 00:00:00 2001 From: Ian Young Date: Fri, 3 May 2013 10:53:31 +0000 Subject: [PATCH] Support incmd (InCommon Federation metadata) extensions. --- mdx/_rules/check_incmd.xsl | 97 ++++++++++++++++++++++++++++++++++++++ mdx/common-beans.xml | 5 +- mdx/validation-beans.xml | 19 ++++++++ xml/incommon-metadata.xsd | 28 +++++++++++ 4 files changed, 147 insertions(+), 2 deletions(-) create mode 100644 mdx/_rules/check_incmd.xsl create mode 100644 xml/incommon-metadata.xsd diff --git a/mdx/_rules/check_incmd.xsl b/mdx/_rules/check_incmd.xsl new file mode 100644 index 00000000..214860a3 --- /dev/null +++ b/mdx/_rules/check_incmd.xsl @@ -0,0 +1,97 @@ + + + + + + + + + + + + incmd:contactType should only appear on md:ContactPerson + + + + + + + incmd:contactType requires contactType='other', found ' + + ' + + + + + + + incmd:contactType must be an absolute URI + + + + + + + + unknown value ' + + ' for incmd:contactType + + + + + + + + + + + + + + unknown element incmd: + + + + + + + + + unknown attribute incmd: + + + + + + diff --git a/mdx/common-beans.xml b/mdx/common-beans.xml index fb8cfca4..7cdefe35 100644 --- a/mdx/common-beans.xml +++ b/mdx/common-beans.xml @@ -34,11 +34,11 @@ - + diff --git a/mdx/validation-beans.xml b/mdx/validation-beans.xml index 54830e12..4cfa5aed 100644 --- a/mdx/validation-beans.xml +++ b/mdx/validation-beans.xml @@ -576,6 +576,24 @@ + + + + + + + + +