News for hackers. Stuff that matters.
Re:XML Is a Cheap DSL by exabrial on Saturday March 14, 2026 @08:54AM (#47376187)
Given that that is had strong schema XSD verification built in, where you can tell in an instant whether or not the document is correct; it’s the right tool for a majority of jobs.

My experience has been the people complaining about it were simply not using automated tools to handle it. It’s be like people complaining that “binaries/assembly are too hard to handle” and never using a disassembler.

Re:XML Is a Cheap DSL by hnfong on Saturday March 14, 2026 @09:53AM (#47376696)
> can tell in an instant whether or not the document is correct

Speaking of "correctness"... It seems to me people almost never mention that while schema verification can detect a lot of issues, in the end it cannot replace actual content validation. There are often arbitrarily complicated constraints on data that requires custom code to validate.

This is analogous to the ridiculous claim that type checking compilers can tell you whether the program is correct or not.

Re:XML Is a Cheap DSL by DamonHD on Saturday March 14, 2026 @10:18AM (#47376964)
If your type checking was in the Martin-Löf school, and you started with a putative proof that what you wanted to execute was possible, then maybe! B^>
Re:XML Is a Cheap DSL by phlakaton on Saturday March 14, 2026 @10:37AM (#47377152)
I'm happy to use XSD for certain situations, but it has some frustrating inabilities and complexities.

The impression I've got from the last 20 years is that a chunk of the XML community gave up on XSD and went to RELAX-NG instead, but only got halfway there.

Re:XML Is a Cheap DSL by bananamansion on Saturday March 14, 2026 @09:05AM (#47376298)
what jobs require XSD verification?
Re:XML Is a Cheap DSL by bob1029 on Saturday March 14, 2026 @10:49AM (#47377264)
E.g.:

> All consumers are required to meet schema validation. Schema validation is the verification that the operations inside the SOAP Body match the contract created by Jack Henry in the XSD documents. It should be noted, that the VER_x tags are required in the requests to meet schema.

https://jackhenry.dev/jxchange-soap/getting-started/developm...

Re:XML Is a Cheap DSL by AndrewDucker on Saturday March 14, 2026 @10:35AM (#47377130)
Anything that wants to be sure that the data passed to it is structurally valid.
Re:XML Is a Cheap DSL by baq on Saturday March 14, 2026 @09:10AM (#47376332)
Ideally all of them.