News for hackers. Stuff that matters.
Re:XML is almost always misused by mrzool on Tuesday October 29, 2019 @04:30PM (#21391633)
The point is, XML is not a data format. It’s a markup language.
Re:XML is almost always misused by LudwigNagasena on Tuesday October 29, 2019 @04:37PM (#21391700)
I just invented XDF, it is exactly like XML, but it can be used to represent arbitrary data structures. Do you have any objections now?
Re:XML is almost always misused by tux3 on Tuesday October 29, 2019 @04:50PM (#21391844)
XDF looks cool! Some of the design choices look pretty inefficient and arbitrary for a data format though, have you thought about rebranding it as a markup language? =] /s

The point being, I think the author is arguing you should use the right tool for the job, and XML not being designed for arbitrary data structures makes it not the right tool. Just recently people have shown you can build a raytracing engine in SQL, but if someome was arguing we shall call it SQLCycles and ship it in Blender, I'd definitely have a few objections!

Re:XML is almost always misused by Koshkin on Tuesday October 29, 2019 @04:53PM (#21391879)
It would be a rather bad design. It would not survive a good design review.
Re:XML is almost always misused by benibela on Tuesday October 29, 2019 @04:40PM (#21391749)
That is only valid if the XDF standard has been published by the W3C
Re:XML is almost always misused by gnulinux on Tuesday October 29, 2019 @04:53PM (#21391887)
This doesn't make any sense. W3C doesn't restrict/define use cases of XML, it defines structure and semantics thereof; using it as-if it is an XDF document is perfectly ok, just like you can use XML data for your DASH stream etc... It's a structure on top of XML structure.
Re:XML is almost always misused by arkitaip on Tuesday October 29, 2019 @04:37PM (#21391710)
In reality it's actually fine as a data format for lots of use cases.
Re:XML is almost always misused by ako on Tuesday October 29, 2019 @05:01PM (#21391982)
Documents are unstructure data, markup provides structure to unstructured documents, so xml turns documents into data.