Re:XML is better than YAML
by GoblinSlayer on Thursday September 21, 2023 @10:28AM
(#37598138)
I wrote many configuration files and encountered maps and sets, but never arrays.
[ Parent
| on HN ]
Re:XML is better than YAML
by KnobbleMcKnees on Thursday September 21, 2023 @11:16AM
(#37598906)
The qualities of sets that arrays don't have (and vice versa) are irrelevant to the point of neither being implicitly representable in XML.
You're either providing complex objects as properties or you're providing a list of complex objects. Worse, you can have a combination of both. Without a schema it is not possible to infer whether either or both is happening.