XML schema (XSD) was and is still a great idea. Change my mind.
41
21
6
256
XSD relies on namespaces, which were added to XML too late, it mixes record-style structure definition into a markup language universe, and it led to the abominable infoset concept. I much preferred RNG or Schematron.
4
10
isn't an infoset what every data representation should have and only few are grown-up enough to actually define? i am not defending the way it came to be or how it came out. but i always liked the fact that there is such a thing that seems to have universal consensus behind it.
2
Replying to @dret @rotnroll666
I always considered it way too abstract and explicitly disliked the idea of schema validation adding information to it. Might have been very different if XML, namespaces and schema had all been designed at the same time, forming a consistent whole

Apr 18, 2022 · 6:47 AM UTC

1
1
but abstraction is the goal here and it's good to not discuss for the 10th time whether we can count on attribute order or not. is it present in the infoset? if not then the discussion is over.