Oops, I meant to say: Line 70 of com.xfactorstudio.xml.xpath.XPathUtils reads: for (var i=1 ; i<max ; i+=2)
Note the "less than" - - - - - - - - - - - - Tim Beynart Athens, GA, USA 706.372.6994 - - - - - - - - - - - - -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Beynart Sent: Wednesday, November 02, 2005 10:41 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] XPath Query HELP! I could not resist finding out what was wrong, here's the fix I came up with: It should say "i<=max" to accommodate 1 character text node values. Make that change and your query will work. - - - - - - - - - - - - Tim Beynart Athens, GA, USA - - - - - - - - - - - - -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Beynart Sent: Wednesday, November 02, 2005 10:22 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] XPath Query HELP! Look at the class com.xfactorstudio.xml.xpath.types.Predicate line 266, add these traces: static function isEqualTo(val1, val2):Boolean{ trace("EQUALS::"+val1+" , "+val2) var values = Predicate.convertForComparison(val1, val2); for (var i in values){ trace(i+" : "+values[i]); } return (values.val1 == values.val2); } You will see that the convertForComparison method is not working correctly for some reason. I don't have time to continue looking at this, I hope this gets you on the right path (har har). - - - - - - - - - - - - Tim Beynart Athens, GA, USA - - - - - - - - - - - - _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders