In mid-September, we reported that Nick Wellnhofer, the long-time maintainer of the widely used XML parsing library libxml2, planned to step down from the project. A few days ago, that change became official.

When looking at one of the latest commits in the project’s GitLab repository, you can now see the following notice:

“This project is unmaintained and has known security issues (https://gitlab.gnome.org/GNOME/libxml2/-/issues/346). It is foolish to use this software to process untrusted data.”

  • Björn@swg-empire.de
    link
    fedilink
    arrow-up
    47
    arrow-down
    1
    ·
    1 day ago

    Where were you when libxml2 die?

    I was at house eating dorito when Lemmy ring.

    “libxml2 is kil”

    “no”

    I actually used it the other day to grab a value from an xml file.

  • onlinepersona@programming.dev
    link
    fedilink
    arrow-up
    23
    ·
    20 hours ago

    Good on Nick. Do what you want buddy, you had a good run. Go have some fun doing what you love.

    Now it’s time for a corporate user of libxml2 to donate resources for maintenance and bug fixing or forking it. It doesn’t always have to be on the shoulders of unpaid maintainers.

    • ulterno@programming.dev
      link
      fedilink
      English
      arrow-up
      3
      ·
      19 hours ago

      Considering that qt6-webengine also depends upon it, I guess someone will come and pick it up soon, or maybe they will just create an alternative?

        • ulterno@programming.dev
          link
          fedilink
          English
          arrow-up
          8
          ·
          edit-2
          7 hours ago

          Well, there’s already sax, xml-rs and rust-xml.
          How many more do you want?

          Better off giving more attention to those that already exist than making more rewrites.

            • ulterno@programming.dev
              link
              fedilink
              English
              arrow-up
              3
              ·
              8 hours ago

              I don’t know much to compare either, just did a quick search.
              I might end up checking some out later when I start doing more stuff with Rust, but nothing for now.

  • mrbn@lemmy.ca
    link
    fedilink
    arrow-up
    19
    ·
    22 hours ago

    Never bothered to check how many packages depend on libxml2. It’s 418 packages that directly depends on it.

  • frongt@lemmy.zip
    link
    fedilink
    arrow-up
    21
    arrow-down
    2
    ·
    1 day ago

    I hope this is a nail in the coffin for xml. It’s just so unpleasant to work with, even through great libraries.

        • IHeartBadCode@fedia.io
          link
          fedilink
          arrow-up
          26
          ·
          1 day ago

          That’s super underselling it. Open Financial Exchange OFX is still the go-to for markets and banks to exchange information with various end user devices. ISO 20022 is a standard used in banking that is XML based. Fedwire, the platform that moves money between the central banks completed transition to XML in July… of this year.

          Credit reporting agencies, insurance agencies, hospitals, medicare, medicaid, massive amounts of the entire global logistics industry are heavily using XML with no plans in the near future to move off of it. Like the network that handles auto insurance claims and reporting them to people like LexisNexus is all XML.

          Like it’s impossible to cover just how much of this planet runs on XML.

          • raman_klogius@ani.social
            link
            fedilink
            English
            arrow-up
            6
            ·
            edit-2
            22 hours ago

            It was in fact these non-browser interests that initially poisoned W3C to take the position of completely abandoning html for XML back in 2004… Where the browser companies immediately ignored the decision and formed their own working group (whatwg) which worked on almost all new web technologies post html4.

          • elmicha@feddit.org
            link
            fedilink
            arrow-up
            16
            ·
            23 hours ago

            Don’t forget the OpenDocument format of LibreOffice and the other format of the other office suite. Yeah, these will be retired any day now.

            Also these.

      • 4am@lemmy.zip
        link
        fedilink
        arrow-up
        10
        ·
        20 hours ago

        Every office suite document format is just a disguised ZIP archive full of XML files.

    • sik0fewl@lemmy.ca
      link
      fedilink
      arrow-up
      8
      ·
      21 hours ago

      Yes, things will be so much better when we eventually replicate all of XML’s functionality in JSON.

    • expr@programming.dev
      link
      fedilink
      arrow-up
      6
      ·
      22 hours ago

      It’s great for non-HTML markup, like https://hyperview.org/.

      A lot of the hate is undeserved. It has had awful paradigms built around it (like SOAP), but that doesn’t make XML inherently bad by any means.

    • ulterno@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      19 hours ago

      Sure it is, but I don’t see a good enough replacement.
      Although I have only used XML a couple of times, which were in other people’s projects, and considering their low complexity, they might as well have used JSON, XML does have a space where JSON is not good enough.