Hacker News new | ask | show | jobs
by GoblinSlayer 1007 days ago
I wrote many configuration files and encountered maps and sets, but never arrays.
1 comments

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.