this post was submitted on 24 Feb 2026
620 points (97.8% liked)
Programmer Humor
30077 readers
2174 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
They're not supposed to contain data, but some parsers will allow you to access what's written into comments. And so, of course, someone made use of that and I had to extract what was encoded basically like that:
My best guess is that they added this data into comments rather than child nodes or attributes, because they were worried some of the programs using this XML would not be able to handle an extension of the format.