summaryrefslogtreecommitdiff
path: root/officecfg/util/schema_val.xsl
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2004-11-15 12:33:05 +0000
committerOliver Bolte <obo@openoffice.org>2004-11-15 12:33:05 +0000
commite89c30cdf276a48831d5a8ae67c5d0fe1d91a4bd (patch)
treeb680803a42f94455db37c66f5b7fdb99b8cc26da /officecfg/util/schema_val.xsl
parent0077d5dda4c82f6b5cab427cad49e34a127d6aa9 (diff)
INTEGRATION: CWS cfglooseends (1.6.174); FILE MERGED
2004/11/02 16:03:34 jb 1.6.174.1: #i18588# Throw an error on undesired xml:lang tags - informational items are currently not localized
Diffstat (limited to 'officecfg/util/schema_val.xsl')
-rw-r--r--officecfg/util/schema_val.xsl9
1 files changed, 7 insertions, 2 deletions
diff --git a/officecfg/util/schema_val.xsl b/officecfg/util/schema_val.xsl
index 787656ac2bb1..6dfd092c3c44 100644
--- a/officecfg/util/schema_val.xsl
+++ b/officecfg/util/schema_val.xsl
@@ -3,9 +3,9 @@
*
* $RCSfile: schema_val.xsl,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: obo $ $Date: 2004-07-05 13:49:00 $
+ * last change: $Author: obo $ $Date: 2004-11-15 13:33:05 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -94,6 +94,11 @@
</xsl:if>
</xsl:template>
+<!-- Localized info elements (desc/label) are not supported currently -->
+ <xsl:template match="info//*[@xml:lang]">
+ <xsl:message terminate="yes">ERROR: Info elements (desc/label) are currently not localized. Remove xml:lang attributes!</xsl:message>
+ </xsl:template>
+
<!-- check if properties of type 'any' do not have a value -->
<xsl:template match="prop[@oor:type='oor:any']">
<xsl:if test="count(value)">