I was looking through the common syndication parser code and I notice it is using simplexml as I understand.

I am putting in a feature request for XMLreader php based xml parser as it is stream based, meaning it can handle a 2GB xml file in an 8 MB shared hosting environment, while simplexml loads the entire stuff into memory and can get fatal error out of memory errors easy with large xml files :)

Cheers,
G

Comments

Aron Novak’s picture

I took a look on XMLreader and it seems to be nice.
I can't see XPath support, maybe i just overlooked.
Btw. this is a really large request, event this current parser_common_syndication parser is not built from zero.
If someone steps up with a solid (and betten than parser_common..) XMLreader parser, i'm ready to commit. :)