RedBoffin Posted May 2, 2007 Share Posted May 2, 2007 Hello I have a large xml file to parse. Using the built-in parser and some tutorial code, I have built a parser which reads this xml data in successfully except for one small problem - at the point where the buffering occurs, a few characters of data are lost! Then the xml data is parsed correctly until the buffer is reached again... and a few characters of data are lost... and so on throughout the document. I have isolated the problem to be the buffer. Changing the buffer size does not solve the problem - this just changes the points in the xml file where the data loss occurs. Has anyone else run into this problem with PHP 4's xml buffering and (hopefully) found a solution. Thanks for reading. Link to comment https://forums.phpfreaks.com/topic/49724-php-4-xml-parser-buffer-problem/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.