💾 Archived View for yujiri.xyz › software › xml.gmi captured on 2022-07-16 at 14:29:10. Gemini links have been rewritten to link to archived content
View Raw
More Information
➡️ Next capture (2023-01-29)
-=-=-=-=-=-=-
yujiri.xyz
Software
XML is bad
Flaws of XML:
- The attribute/child dichotomy. There is 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, lowering productivity and increasing 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.
contact
subscribe via RSS