Vote: deprecate std.xml?

Jonathan M Davis newsgroup.d at jmdavisprog.com
Fri Jan 17 23:48:10 UTC 2020


On Friday, January 17, 2020 4:01:27 PM MST H. S. Teoh via Digitalmars-d 
wrote:
> I used to be skeptical of XML once. Now that skepticism has acquired a
> significant dose of disgust as well.

If you completely strip out everything related to DOCTYPE, it's a decent
format. It still has a few problems (e.g. for some reason it disallows a
number of valid Unicode characters; it would have been nice to be able to
put in binary data inside of cdata sections - you'd think that that's what
it would be for - but you can't), but it's highly usable. Where XML gets
_really_ bad is all of the stuff that gets built on top of it with various
standards, and it's that stuff that I think has resulted in XML getting such
a bad reputation. There's a lot of over-engineered stuff out there which
uses XML. Either way, it sure deserves a bad reputation for having the
DOCTYPE section.

- Jonathan M Davis





More information about the Digitalmars-d mailing list