diff --git a/build.xml b/build.xml
index e3a57880..70ea2d50 100644
--- a/build.xml
+++ b/build.xml
@@ -855,6 +855,7 @@
+
diff --git a/build/check_mdui.xsl b/build/check_mdui.xsl
new file mode 100644
index 00000000..3890576a
--- /dev/null
+++ b/build/check_mdui.xsl
@@ -0,0 +1,199 @@
+
+
+
+
+
+
+
+
+
+
+ more than one UIInfo element in one Extensions element
+
+
+
+
+
+
+ UIInfo appearing outside Extensions element
+
+
+
+
+ UIInfo appearing outside role descriptor element
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ non-unique lang values on
+
+ elements
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ missing @height on
+
+
+
+
+
+ missing @width on
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ missing @xml:lang on
+
+
+
+
+
+
+
+ DiscoHints appearing outside Extensions element
+
+
+
+
+ DiscoHints appearing outside IDPSSODescriptor element
+
+
+
+
+
+
+ more than one DiscoHints element in one Extensions element
+
+
+
+