Issue 148: API doc error
Status:  Deprecated
Owner:
Closed:  Jun 2009
Project Member Reported by virtix, Jun 3, 2009
I installed MXUNIT and received an Expression Error on line 32 column
86 in the Application.cfm when accessing the API lin k in the docs.

Upon review the end of the      "<cfset>" tag was closed with a "&nbsp;/
&nbsp;>"  This is simply a bad taq closure.

The following lines 32, 34, 37, have this issue.

The simple fix is removing the space between "/" and ">"

I checked this twice and it does appear to be in the distribution zip
file.

The offending lines:

<cfset application.revealCFCCode = trim
(configXML.config.revealCFCCode.xmlText) / >
<cfset application.revealCFCCode = application.revealCode / >
<cfset application.startPage = trim
(configXML.config.startPage.xmlText) / >
<cfset application.startPage = "../readme.cfm" / >

The fix:
<cfset application.revealCFCCode = trim
(configXML.config.revealCFCCode.xmlText) />
<cfset application.revealCFCCode = application.revealCode />
<cfset application.startPage = trim
(configXML.config.startPage.xmlText) />
<cfset application.startPage = "../readme.cfm" />

ORIGINAL ERROR
Type    Template
Message Expression Error
Position        Line=32; Column=86
Detail  Problem occurred while parsing: application.revealCFCCode = trim
(configXML.config.revealCFCCode.xmlText) /
Extended Info   Encountered "<EOF>". Was expecting one of: "DOES" ...
"CONTAIN" ... "GREATER" ... "THAN" ... "LESS" ... "VAR" ... "NULL" ...
<INTEGER_LITERAL> ... <FLOATING_POINT_LITERAL> ...
<STRING_LITERAL> ... <BOOLEAN_LITERAL> ... <IDENTIFIER> ... "(" ...
"#" ... "+" ... "-" ...
Source
29:   <cfset application.revealCode = trim
(configXML.config.revealCode.xmlText)>
30:   <cfset application.apptitle =
configXML.config.pageTitle.xmlText>
31:   <cfif isDefined("configXML.config.revealCFCCode.xmlText")>
32:     <cfset application.revealCFCCode = trim
(configXML.config.revealCFCCode.xmlText) / >
33:   <cfelse>
^ Snippet from underlying CFML source 


Jun 30, 2010
Project Member #1 virtix
Moving some, but not all, of these to jira.mxunit.org
Status: Deprecated