• bob_lemon@feddit.org
      link
      fedilink
      arrow-up
      3
      arrow-down
      1
      ·
      5 months ago

      I still want someone to explain to me why XML even needs namespaces (which cause about 95% of all issues regarding XML).

      There is a way to separate different XML structures, it’s called files.

    • JackbyDev@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 months ago

      XML is also tricky to parse because people forget it is for documents too. It’s basically like HTML. Mixed content elements are allowed. <foo>hey <bar>there</bar> friend</foo> is valid XML. So iterating over elements is trickier than JSON (which is just key value pairs and arrays).