from Hacker News

Ask HN: Are people out there still using XML Schema?

by jviotti on 8/9/24, 11:11 PM with 4 comments

I'm genuinely curious. I'm a TSC member of JSON Schema and want to research more the remaining uses of XML Schema in the wild.

Do you know of any individual or organisation?

  • by mdaniel on 8/9/24, 11:20 PM

    "using" is one of those weird words: the Maven XML build file (and its settings, and a few others) still have versioned XML Schemas: e.g. https://maven.apache.org/xsd/maven-4.0.0.xsd and its friends https://maven.apache.org/xsd/

    If you mean "stood up a consumer-facing service whose contract is dictated by WSDL and/or XML Schema," then I'm guessing the broad answer will be no because it's not kewl

    As a TSC member of JSON Schema, the best DX thing you can push through would be the xsi:schemaLocation replacement because right now mapping files to their schema is some damn tomfoolery

  • by freds39 on 8/10/24, 3:48 AM

    Peppol (https://peppol.org/) for the exchange of electronic business documents
  • by _1tan on 8/10/24, 5:44 AM

    Heavily used within energy industry systems and standards we have to work with in Germany to integrate with. A couple of examples:

    - Electronic delivery receipts for metering hardware (from standard body)

    - API spec for smart meter interfacing software (from vendor, feels legacy-like)

    - API to interact with official sub-CAs (from government authority)

    - Definitions for EDIFACT files (from standard body)