Hacker News new | ask | show | jobs
by tremon 33 days ago
But if closing tags are allowed to be unnamed, you are still one misplaced </> away from unrecognizably maiming the entire hierarchical structure, just like one incorrect indent can do in YAML.

Ultimately, what matters is the editing mode and not the data format. Good syntax highlighting and autocompletion goes a long way towards safely editing structured text, regardless of on-disk format.

1 comments

You need to misplace a </> in a way that still produces a valid xml document. Just forgetting one or adding an extra one will throw an error.