0 Replies Latest reply on May 26, 2009 7:00 AM by SherlockTicklesquire

    Bug in <cfdocumentitem> and 'var'-declared variables?

    SherlockTicklesquire

      This is more of a bug report than a question.

       

      I have a UDF declared via <cffunction> containing a <cfdocument> tag, which contains two <cfdocumentitem> tags.

       

      If I reference 'var'-declared variables (within a <cfscript> tag) within a <cfdocumentitem> tag, the compiler claims I'm referencing an undeclared variable, yet when I do not use 'var' to declare the same variable, there is no issue.  Is there some bizarre scoping violation I'm committing?