Browse Source

Merge pull request #11438 from kenrowland/HPCC-19487

HPCC-19487 Allow dash (-) in names

Reviewed-By: Rodrigo Pastrana <rodrigo.pastrana@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 6 years ago
parent
commit
bac2b36b92
1 changed files with 1 additions and 1 deletions
  1. 1 1
      initfiles/componentfiles/configxml/validateAll.xsl

+ 1 - 1
initfiles/componentfiles/configxml/validateAll.xsl

@@ -42,7 +42,7 @@ xmlns:seisint="http://seisint.com" exclude-result-prefixes="seisint">
       </xsl:if> 
     </xsl:for-each>
     <xsl:variable select="@name" name="elem1"/>
-        <xsl:if test="(translate($elem1,'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_',''))" >
+        <xsl:if test="(translate($elem1,'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-',''))" >
       <xsl:call-template name="validationMessage">
         <xsl:with-param name="msg" select=" concat('Invalid character[@name=' ,$elem1, ']') "/>
       </xsl:call-template>