You are here:  » parsing only first records


parsing only first records

Submitted by andy_memm on Mon, 2010-04-19 04:56 in

Hi,

I ve created a copy of one of my sites using magicparser on another server.

The exact same script only parses the first 26 records. It is always the first 26.
I don t get any error message it just seems to be done with the xml.

The exact same script and xml is working on my other server.

Any Suggestions?

Thanks

Regards

Andy

Submitted by support on Mon, 2010-04-19 08:02

Hello Andy,

This sounds like the scenario that is encountered on a small number of PHP installations (it depends on the particular versions of the underlying XML libraries) that causes XML parsing to stop if an extended character ste (e.g. UTF-8) encoding error is encountered.

I do have a version of MagicParser.php that can work around this by cleansing the input stream to valid UTF-8 before handing it to the parser. I will email this version to you now for you to try.

Cheers,
David.

Submitted by andy_memm on Sat, 2010-05-01 00:35

It worked.

Thank you for a great script and support.

BR

Andy