How bizarre! I wonder which would be faster, a lock around the parse, or duplicating the XMDoc?
Mark On Tue, Aug 12, 2008 at 1:25 PM, James Holmes <[EMAIL PROTECTED]> wrote: > Our testing confirms your suspicions; a duplicate() seems to perform > better than re-parsing the XML string. > > We went with duplicate as a quick fix for our framework; if we find > something better, we'll let everyone know. > > I voted for a fix in CF and I encourage others to do the same: > > http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform > > ******BUG****** > Concise problem statement: > > XMLSearch() is not thread safe. > > Steps to reproduce bug: > > 1. Create XML object in a shared scope like APPLICATION. > > 2. Search the object with different XMLSearch() xpath expressions in > multiple requests at the same time under significant load. > > Results: Null pointer errors, incorrect search results. > > Expected results: correct searches, no NPEs. > > > On Fri, Aug 8, 2008 at 11:33 PM, Brad Wood <[EMAIL PROTECTED]> wrote: >> My thoughts on why duplicate might perform better than xmlparse went >> something like this: Which takes longer? reinstalling and configuring a >> server from scratch, or running Norton Ghost and simply copying over an >> image. >> >> Has anyone filed this with Adobe yet? http://www.adobe.com/go/wish/ > > > -- > mxAjax / CFAjax docs and other useful articles: > http://www.bifrost.com.au/blog/ > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310832 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

