Re:JSON as configuration files: please don’t (2016)
by SllX on Saturday April 13, 2019 @06:20PM
(#19656105)
HTML is distinctly not XML. There is XHTML if you want to use a form of HTML that is processed like XML, but XML processing is a lot stricter than HTML processing in which you can take a lot more liberties in the markup and still end up with a readable result, maybe even what you intended, whereas an XML processor will usually refuse to render incorrect XML markup at all.
[ Parent
| on HN ]
Re:JSON as configuration files: please don’t (2016)
by manigandham on Saturday April 13, 2019 @08:02PM
(#19656598)
I'm comparing the data structure and editing ergonomics (which are identical) between XML and HTML, not how they are processed. It's good for config files to have precise parsing instead of tolerating errors.