News for hackers. Stuff that matters.
Re:When XML Beats JSON: UI Layouts by jancsika on Wednesday October 30, 2019 @11:22AM (#21398703)
It's funny to me that even in an XML shining example of purpose you've got non-semantic "<div>" there likely because, "just float where I want, dammit!"

Just imagining a JSON that starts with

"dummy": "don't remove this or the API will mis-align this across two structs!!!"

Re:When XML Beats JSON: UI Layouts by jlokier on Wednesday October 30, 2019 @02:05PM (#21400632)
You jest, but this is not unheard of in hand-maintained JSON:

  "comment": "The foo widget needs blah blah ...",
Re:When XML Beats JSON: UI Layouts by Mikhail_Edoshin on Thursday October 31, 2019 @02:38AM (#21406227)
The semantic of these things is what the code does with them. It's the only semantic there is. E.g. the <i> tag has perfect semantic, while <article> not that much.