Nelson SOXML relies on CFOBJECT to instantiate the XML Parser (Microsoft's version). Cf_XMLParser uses XERCES which is a Java based parser. I know CF has memory leak issues with CFOBJECT, however, I've heard they have a patch out or will soon.
How do you like working with CF and XML documents? What type applications are you using XML and CF? Thanks - Tom Schreck 817-252-4900 [EMAIL PROTECTED] I have not failed. I've found 10,000 ways that won't work. - Thomas Edison -----Original Message----- From: Nelson Winters [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 3:01 PM To: [EMAIL PROTECTED] Subject: Re: [cf-xml] CF5 and MSXML Tom, Thanks for the suggestion. I made the change you recommended, but unfortunately there was no improvement in performance. What's happens is the first time I run the script (with or without your recommend change) is that it (cf_soxml) takes about 3,000-5,000 ms to convert the xml string to a cf structure. Unfortunately, on subsequent calls to the same script, it takes longer and longer to process. After running the script about 15 times, it's over 100,000 ms to parse the same xml packet. Nothing else is running on the server during this testing and the processing time always gradually increases with each subsequent call. On a positive note, I've installed the cf_XMLParser from www.cfdev.com and it's parsing the same XML packet in under 500 ms and appears to be quite stable. The only downside that I've found so far is that it uses a different structure layout to represent the same XML data, which meant I had to rework some of the code I had. Not a major ordeal though. If anyone has any other suggestions, I'd love to hear them and try them out. Thanks again, Nelson ----- Original Message ----- From: "Schreck, Tom" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 23, 2002 2:06 PM Subject: RE: [cf-xml] CF5 and MSXML Try changing the Attributes.ProgID from Microsoft.XMLDom in soxml tag to the following: <cfparam name="Attributes.ProgId" default="MSXML2.DOMDocument.3.0"> Thanks - Tom Schreck 817-252-4900 [EMAIL PROTECTED] I have not failed. I've found 10,000 ways that won't work. - Thomas Edison -----Original Message----- From: Nelson Winters [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 11:50 AM To: [EMAIL PROTECTED] Subject: [cf-xml] CF5 and MSXML I'm trying to use the CF_SOXML tag with CF5, but am running into problems with this combination. I moved the code to a CF4.5 server and it works perfectly. Unfortunately, I need the code to be on the CF5 server. After looking in the forums at www.siteobjects.com and in the archives for this list (http://www.mail-archive.com/[email protected]/msg00033.html), I've discovered that I'm not the first to run into this problem (surprise, surprise). I'm using the tag to simply convert an XML packet and convert it into a CF structure (action="XML2CF" for those of you familiar with the tag). I was wondering if anyone has been able to resolve this issue or could recommend an alternative solution that would accomplish the same thing for me? I'm about to try CF_XMLParser from CFDev.com. Unfortunately, the structures that it builds is a little different than what CF_SOXML builds, which will mean that I'll have to modify my code somewhat. Nelson -----------------------+ cf-xml mailing list list: [EMAIL PROTECTED] admin: [EMAIL PROTECTED] home: http://torchbox.com/xml -----------------------+ cf-xml mailing list list: [EMAIL PROTECTED] admin: [EMAIL PROTECTED] home: http://torchbox.com/xml -----------------------+ cf-xml mailing list list: [EMAIL PROTECTED] admin: [EMAIL PROTECTED] home: http://torchbox.com/xml -----------------------+ cf-xml mailing list list: [EMAIL PROTECTED] admin: [EMAIL PROTECTED] home: http://torchbox.com/xml
