400
submitted 2 years ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 63 points 2 years ago

This is not HTML. It isn't even XML. It's not as bad as designers putting "code" into ads, but it's close.

Also, ever heard of XSLT?

[-] [email protected] 26 points 2 years ago

I mean it's valid XML

It's just not useful

[-] [email protected] 36 points 2 years ago

It isn't valid XML. No root node.

[-] [email protected] 24 points 2 years ago

We may just not see it but fair point

[-] [email protected] 17 points 2 years ago

The editor would need to start counting lines at zero.

[-] [email protected] 14 points 2 years ago

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

[-] [email protected] 9 points 2 years ago

Oh ur right

Ew I didn't notice

That's awful

[-] [email protected] 1 points 2 years 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.

[-] [email protected] 1 points 2 years 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

37622 readers
25 users here now

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

Rules:

founded 6 years ago
MODERATORS