this post was submitted on 15 Oct 2023
375 points (94.1% liked)
Programmer Humor
32380 readers
425 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
It isn't valid XML. No root node.
We may just not see it but fair point
The editor would need to start counting lines at zero.
The line numbers show us that we're seeing the whole file.
Oh ur right
Ew I didn't notice
That's awful
They only (probably) show us that we are seeing the begining of the file. Also relative line numbing is a thing in vim for example.
Could it be an xml entity (or whatever it’s called) that you reference from another xml file? Do those require root nodes?