From a8cc244faf03c0b3b9975e3bce7ecc659626603d Mon Sep 17 00:00:00 2001 From: Ian Young Date: Fri, 5 Jul 2013 12:38:14 +0000 Subject: [PATCH] Promote two UK-specific tests for mdui:DisplayName to production, but only when checking UK-registered entities. --- mdx/_rules/check_future_0.xsl | 22 ----------------- mdx/_rules/check_future_1.xsl | 13 ---------- mdx/_rules/mdui_dn_en_match.xsl | 41 +++++++++++++++++++++++++++++++ mdx/_rules/mdui_dn_en_present.xsl | 31 +++++++++++++++++++++++ mdx/uk/beans.xml | 2 ++ mdx/validation-beans.xml | 38 ++++++++++++++++++++++++++++ 6 files changed, 112 insertions(+), 35 deletions(-) create mode 100644 mdx/_rules/mdui_dn_en_match.xsl create mode 100644 mdx/_rules/mdui_dn_en_present.xsl diff --git a/mdx/_rules/check_future_0.xsl b/mdx/_rules/check_future_0.xsl index 36c45399..fe932075 100644 --- a/mdx/_rules/check_future_0.xsl +++ b/mdx/_rules/check_future_0.xsl @@ -30,26 +30,4 @@ --> - - - - - - - - mismatched xml:lang='en' DisplayNames: ' - - ' in mdui vs. ' - - ' in ODN - - - - - diff --git a/mdx/_rules/check_future_1.xsl b/mdx/_rules/check_future_1.xsl index 79a01dd2..969be471 100644 --- a/mdx/_rules/check_future_1.xsl +++ b/mdx/_rules/check_future_1.xsl @@ -30,17 +30,4 @@ --> - - - - - mdui:UIInfo with no xml:lang='en' DisplayName - - - - - diff --git a/mdx/_rules/mdui_dn_en_match.xsl b/mdx/_rules/mdui_dn_en_match.xsl new file mode 100644 index 00000000..8281fe9d --- /dev/null +++ b/mdx/_rules/mdui_dn_en_match.xsl @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + mismatched xml:lang='en' DisplayNames: ' + + ' in mdui vs. ' + + ' in ODN + + + + + + diff --git a/mdx/_rules/mdui_dn_en_present.xsl b/mdx/_rules/mdui_dn_en_present.xsl new file mode 100644 index 00000000..16e2ab15 --- /dev/null +++ b/mdx/_rules/mdui_dn_en_present.xsl @@ -0,0 +1,31 @@ + + + + + + + + + + + mdui:UIInfo with no xml:lang='en' DisplayName + + + + + diff --git a/mdx/uk/beans.xml b/mdx/uk/beans.xml index c774e0e2..68ed010e 100644 --- a/mdx/uk/beans.xml +++ b/mdx/uk/beans.xml @@ -374,6 +374,8 @@ + + diff --git a/mdx/validation-beans.xml b/mdx/validation-beans.xml index 37b828ac..014dbc4a 100644 --- a/mdx/validation-beans.xml +++ b/mdx/validation-beans.xml @@ -411,10 +411,48 @@ + + + + + + + + + + + + + + + + + +