this post was submitted on 08 Sep 2024
1211 points (98.2% liked)

Programmer Humor

32054 readers
1564 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 9 points 1 week ago (1 children)

do they do that in xml? never seen that

[โ€“] [email protected] 3 points 1 week ago

I have actually seen it in an XML file in the wild. Never quite understood why they did it. Anything they encoded into there, they could have just added a node for.
But it was an XML format that was widely used in a big company, so presumably somewhere someone wrote a shitty XML parser that can't deal with additional nodes. Or they were just scared of touching the existing structure, I don't know.