Before XML became a standard and given all its shortcomings, what made XML so popular?

后端 未结 23 614
轻奢々
轻奢々 2021-02-04 09:01

Yes XML is human readable but so is comma delimited text and properties files.

XML is bloated, hard to parse, hard to modify in code, plus a ton of other problems that I

23条回答
  •  盖世英雄少女心
    2021-02-04 09:49

    1. Schema definition languages - you can describe the expected format of the XML
    2. It's a standard:) - it's definitely better than everybody using their own custom formats

    CSV is human readable but that's really the only good thing about it - it's so inflexible, and there are no meanings assigned to the values. If I started designing a system now I would definitely use YAML instead - it's less bloated and it's definitely gaining momentum.

提交回复
热议问题