400
submitted 11 months ago by frippa@lemmy.ml to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] bjoern_tantau@swg-empire.de 36 points 11 months ago

It isn't valid XML. No root node.

[-] LukeChriswalker@feddit.de 24 points 11 months ago

We may just not see it but fair point

[-] 0x0@lemmy.dbzer0.com 17 points 11 months ago

The editor would need to start counting lines at zero.

[-] bjoern_tantau@swg-empire.de 14 points 11 months ago

The line numbers show us that we're seeing the whole file.

[-] LukeChriswalker@feddit.de 9 points 11 months ago

Oh ur right

Ew I didn't notice

That's awful

[-] Joe_0237@lemmy.ml 1 points 11 months ago

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.

[-] jaybone@lemmy.world 1 points 11 months ago

Could it be an xml entity (or whatever it’s called) that you reference from another xml file? Do those require root nodes?

this post was submitted on 15 Oct 2023
400 points (94.4% liked)

Programmer Humor

32041 readers
1313 users here now

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

Rules:

founded 5 years ago
MODERATORS