Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
Aron NovakI 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. :)