> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Dave Watts > Sent: Wednesday, January 19, 2005 6:01 PM > To: [email protected] > Subject: RE: [CFCDev] Objects byReference > > > Thanks for your input Jim. Certainly a lot to think about. > > Will try and figure out whether a parsed xml document is > > stored in memory as a string or an object. My gut feeling is > > it's stored in memory as a highly structured object just by > > looking at a cfdump of the in memory object. > > I'm pretty sure that your gut feeling is correct - it's stored as a "tree > of > nodes", which is certainly a highly structured object.
I'd still love to hear back the results of your tests. Whether or not the entity is stored as a string or as a structured object it can still be passed by value or by reference. CF tends to do things both ways: Arrays are passed by Value, structs and queries by Reference. It's kind of a coin toss what an XML object would be. But now I'm really curious... but too intensely lazy to figure it out for myself. ;^) Jim Davis ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
