Ted,
It must be big enough. One thing you can do is execute your @URL with MAXRESULTSIZE=10000000 (10 meg should be big enough) And then do: <@VARINFO method$vxml size> which will return the number of bytes that you received. Then I would probably double that number for the final value to use in maxresultsize. Additionally, you can do this: Let’s say that you set maxresultsize to 128000 as you suggest. Immediately after the @URL you can put an IF action that will compare “128000” and <@VARINFO vxml size>. If they are equal then you filled the buffer and likely do not have all the information. Now you can error gracefully and call this problem to your attention. You could even build a WHILE loop that dynamically increased maxresultsize until it was big enough, but that’s probably a little more than you need. Robert From: Ted Wolfley [mailto:t...@ogdengroup.com] Sent: Thursday, December 09, 2010 10:41 AM To: Witango-Talk@witango.com Subject: RE: Witango-Talk: url tag What would be a safe number? Double it? [MAXRESULTSIZE=128000] Ted Wolfley Lead Internet and Database Programmer The Ogden Group of Rochester phone: (585) 321 1060 x23 fax: (585) 321 0043 <http://www.ogdengroup.com> www.ogdengroup.com From: Ben Johansen [mailto:b...@webspinr.com] Sent: Thursday, December 09, 2010 8:58 AM To: Witango-Talk@witango.com Subject: Re: Witango-Talk: url tag you probably need to set [MAXRESULTSIZE=size] default value for this attribute is 64K, see docs for @URL On Dec 9, 2010, at 5:35 AM, Ted Wolfley wrote: Hi, I am trying to use the url tag to put a rss feed into variable, then parse the variable with dom tag to extract the elements. <@ASSIGN NAME="vxml" VALUE='<@URL LOCATION="http://feeds.feedburner.com/mnt/healthnews?format=xml">' scope="method"> <@ASSIGN NAME="myDom" SCOPE="application" VALUE='<@DOM VALUE="<@VAR vxml SCOPE=Method>">'> The error I get is: An error occurred while parsing the XML. The input ended before all started tags were ended. Last tag started was 'description' I have used the same code with other websites successfully. Seems like there a truncation occurring. Is there a size limit for the @assign, the @url or the @dom tag? Using witango 6 (free version) on windows xp with apache. Ted Wolfley Lead Internet and Database Programmer The Ogden Group of Rochester phone: (585) 321 1060 x23 fax: (585) 321 0043 <mailto:t...@ogdengroup.com> t...@ogdengroup.com <http://www.ogdengroup.com> www.ogdengroup.com _____ To unsubscribe from this list, please send an email to lists...@witango.com with "unsubscribe witango-talk" in the body. Ben Johansen http://www.webspinr.com b...@webspinr.com Phone: 360-597-3372 Mobile: 360-600-7775 _____ To unsubscribe from this list, please send an email to lists...@witango.com with "unsubscribe witango-talk" in the body. _____ To unsubscribe from this list, please send an email to lists...@witango.com with "unsubscribe witango-talk" in the body. ---------------------------------------- To unsubscribe from this list, please send an email to lists...@witango.com with "unsubscribe witango-talk" in the body.