home.social

#xmlreader — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #xmlreader, aggregated by home.social.

  1. I wrote a practical PHP guide: How to Parse Large XML Files in PHP Without Running Out of Memory
    It focuses on large XML files, memory safety, XMLReader baseline, selected-node extraction, XML-to-array output.
    dev.to/sbwerewolf/how-to-parse

    The pattern is intentionally boring: stream XML with XMLReader, match the records you need, convert them into plain PHP arrays, and keep application code away from cursor-level XML logic.
    #PHP #XMLReader #ETL #XML #OpenSource

  2. I wrote a practical PHP guide: How to Parse Large XML Files in PHP Without Running Out of Memory
    It focuses on large XML files, memory safety, XMLReader baseline, selected-node extraction, XML-to-array output.
    dev.to/sbwerewolf/how-to-parse

    The pattern is intentionally boring: stream XML with XMLReader, match the records you need, convert them into plain PHP arrays, and keep application code away from cursor-level XML logic.
    #PHP #XMLReader #ETL #XML #OpenSource

  3. I wrote a practical PHP guide: How to Parse Large XML Files in PHP Without Running Out of Memory
    It focuses on large XML files, memory safety, XMLReader baseline, selected-node extraction, XML-to-array output.
    dev.to/sbwerewolf/how-to-parse

    The pattern is intentionally boring: stream XML with XMLReader, match the records you need, convert them into plain PHP arrays, and keep application code away from cursor-level XML logic.
    #PHP #XMLReader #ETL #XML #OpenSource

  4. I wrote a practical PHP guide: How to Parse Large XML Files in PHP Without Running Out of Memory
    It focuses on large XML files, memory safety, XMLReader baseline, selected-node extraction, XML-to-array output.
    dev.to/sbwerewolf/how-to-parse

    The pattern is intentionally boring: stream XML with XMLReader, match the records you need, convert them into plain PHP arrays, and keep application code away from cursor-level XML logic.
    #PHP #XMLReader #ETL #XML #OpenSource

  5. I wrote a practical PHP guide: How to Parse Large XML Files in PHP Without Running Out of Memory
    It focuses on large XML files, memory safety, XMLReader baseline, selected-node extraction, XML-to-array output.
    dev.to/sbwerewolf/how-to-parse

    The pattern is intentionally boring: stream XML with XMLReader, match the records you need, convert them into plain PHP arrays, and keep application code away from cursor-level XML logic.
    #PHP #XMLReader #ETL #XML #OpenSource

  6. Today, a post got published to #reddit r/netsec, concerning a DOS and arbitrary code execution #vulnerability in #XML when parsing it with #Java's #XMLReader. Though correct, maybe hyperbolic: the problem is not limited to Java, and it's possible nobody in the field uses that class. When I first learned about it, years ago, I switched from automated XML parsing to dedicated #XPath-based parsing. That's more cumbersome, for sure, but also more #secure.