On May 25, 2005, at 2:47 PM, Aparajita Fishman wrote:

So you are saying the search string is 627 characters long?


A little error in the numbers. Text 567 characters long

That may be the problem. I just looked at my code for the position command and it will not work correctly for a search string > 255 characters if the source text > 255 characters. So you will have to use a workaround for now, I will fix it in the future.

BTW, in the future kindly send crash dumps directly to me, I don't think the whole list is that interested in wading through it...

Regards,

   Aparajita


Sorry about the crash dump post, was going to send it directly to you, but got interrupted and forgot the change the reply address - that twice in one day.

You also pointed out that I was doing a stupid thing, looking for the whole results in the list of possible repeating tags. I'm just looking for the string position of the first tag and

                $first := position("<"+$tag;$xml)

is all I needed to get it. Guess I was just being lazy or not thinking. Most of the time the data is much smaller, this was something just thrown together for some crisis. Had that in three places so my occasional crashed will hopefully drop to miniscule.

Steve

_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to