Explorar o código

HPCC-19487 Allow dash (-) in names

Add a dash (-) to the name validation rule in related XSL

Signed-off-by: Ken Rowland <kenneth.rowland@lexisnexisrisk.com>
Ken Rowland %!s(int64=6) %!d(string=hai) anos
pai
achega
2d097a29ca
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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>