Hmm, this isn't much, but when you step through an isboolean("0f ")
function in a debugger, this is a _rough_ list of Java methods that get
called (several of these get called many times in a row).Definitely no regex-- mostly attempts to parse as a double etc, and some string manipulation. I can watch the variables as they go by, but I obviously can't see the actual Java code with the exception of when it dips down into method in the String class etc... CfJspPage.internalIsBoolean(Object) line: 677 String.length() line: 535 String.charAt(int) line: 557 CFDouble.parseDouble(String) line: 21 String.length() line: 535 CFDouble.parseDouble(String) line: 21 String.charAt(int) line: 557 CFDouble.parseDouble(String) line: 21 Double.parseDouble(String) line: 482 FloatingDecimal.readJavaFormatString(String) line: 984 String.trim() line: 2483 String.substring(int, int) line: 1761 String.<init>(int, int, char[]) line: 520 FloatingDecimal.readJavaFormatString(String) line: 991 String.charAt(int) line: 560 FloatingDecimal.readJavaFormatString(String) line: 996 Math.min(int, int) line: 862 FloatingDecimal.doubleValue() line: 1259 [local variables unavailable] CfJspPage.internalIsBoolean(Object) line: 712 Double.isInfinite(double) line: 506 ~Brad -----Original Message----- From: Brad Wood [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2008 5:11 PM To: CF-Talk Subject: RE: CF thinks 0F is boolean. Man, I wish we could examine the source code on this kind of stuff. When I do a bunch of isboolean's SeeFusion's stack trace sees a lot of coldfusion.runtime.CFDouble.parseDouble and java.lang.FloatingDecimal.readJavaFormatString going on, but there must obviously be some more there that doesn't take long enough to catch in the stack trace. Maybe some regex is being used to get out "yes", "no", "true", "false", and... ?? ~Brad ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307211 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

