💾 Archived View for yujiri.xyz › software › xml.gmi captured on 2024-07-09 at 00:10:53. Gemini links have been rewritten to link to archived content
View Raw
More Information
⬅️ Previous capture (2023-09-08)
-=-=-=-=-=-=-
yujiri.xyz
Software
XML is bad
Flaws of XML:
- The attribute/child dichotomy. There's no reason for two fundamental "part of something" constructs with separate syntax.
- Closing tags must contain the tag name even though there's only ever one order you can close them in, which reduces productivity and increases typo rate when handwritten and data size.
- Five unique escape sequences that must be memorized instead of using something versatile and standard like the simple backslash.
- CDATA - unnecessary redundancy, since anything you can do with it you can do just as easily without it.
- The root element of an XML tree must have a name, even though the name is arbitrary.
- XML namespaces should be a joke, but aren't.