You nailed it, Sean. I was just digging into the cfc and noticed it was on IsNumeric checks. I saw that the other field checks involving strings were using the aliases properly.
Cool. Thanks to you both. -Mike

 
On 8/12/06, Sean Corfield <[EMAIL PROTECTED]> wrote:
On 8/12/06, Mike Austin <[EMAIL PROTECTED]> wrote:
> The first part of the <cfif> _expression_ looks good and is using the alias but the second part is using the actual field name.

It's a bug in the validator.project.xsl file. Line 93. Looks like this:

&lt;cfif Len(Trim(arguments.<xsl:value-of select="../../@alias"
/>Record.get<xsl:value-of select="@alias" />())) AND NOT
IsNumeric(arguments.<xsl:value-of select="../../@alias"
/>Record.get<xsl:value-of select="@name" />())&gt;

Should look like this:

&lt;cfif Len(Trim(arguments.<xsl:value-of select="../../@alias"
/>Record.get<xsl:value-of select="@alias" />())) AND NOT
IsNumeric(arguments.<xsl:value-of select="../../@alias"
/>Record.get<xsl:value-of select="@alias" />())&gt;

Line 87 has a similar bug. I opened a ticket:
http://trac.reactorframework.com/reactor/ticket/50
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --



-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Reply via email to