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
This commit is contained in:
Oliver Bolte 2004-11-15 12:33:05 +00:00
parent 0077d5dda4
commit e89c30cdf2

View file

@ -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)">