💾 Archived View for yujiri.xyz › software › xml.gmi captured on 2023-05-24 at 17:52:16. Gemini links have been rewritten to link to archived content
View Raw
More Information
⬅️ Previous capture (2023-01-29)
➡️ Next capture (2023-06-14)
-=-=-=-=-=-=-
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.
- XML namespaces should be a joke, but aren't.
contact
subscribe via RSS