News for hackers. Stuff that matters.
Re:Show HN: Embed HN comments in your website by andrewstuart2 on Tuesday November 08, 2016 @09:46AM (#12900618)
Except that the whole promise of XML and DTD is that you can have validated serialization of your objects. If the network is switched to an attribute name with a string value, it can no longer be validated that you've chosen a valid network, unless you use an enumeration (in which case you've still changed the DTD).
Re:Show HN: Embed HN comments in your website by bambax on Tuesday November 08, 2016 @12:16PM (#12902017)
Yes, if you use an enumeration you do change the DTD each time you add a network, but not the structure of the element. It's not the same error and it doesn't tell you the same thing.

It's obviously not very important... I can't seem to be able to put into words why it bothers me so much! ;-)