2 Replies Latest reply on Mar 23, 2017 8:37 AM by haxtbh

    Using dot(.) in custom tag variable

    amits15611397

      Hi,

       

      I want to implement a custom tag for <cfset. I am able to implement but facing issue that i cannot use dot(.) operator in variable name

       

      For e.g.

       

      <cf_set url.value="123"> is not allowed and it gives following error:

       

       

      coldfusion.compiler.TokenMgrError: Invalid token . found on line 8 at column 27. 
      at coldfusion.compiler.cfml40TokenManager.getNextToken(cfml40TokenManager.java:6658)
      at coldfusion.compiler.cfml40.jj_ntk(cfml40.java:13711)
      at coldfusion.compiler.cfml40.TagAttribute(cfml40.java:5488)
      at coldfusion.compiler.cfml40.attribute_list_aux(cfml40.java:5356)
      at coldfusion.compiler.cfml40.attribute_list(cfml40.java:5334)
      at coldfusion.compiler.cfml40.cftag(cfml40.java:224)

       

       

      but "." operator is allowed with <cfset url.value and it works fine.

       

      Please provide thoughts to resolve it for use of "." with custom tag variable name