Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
jdiff
· 1mo ago · 0 comments
XML can handle implicitly closed tags, they call them "empty" in the spec here:
https://www.w3.org/TR/xml/#sec-starttags
Comments
[–]
plorkyeran
1mo ago
Empty tags in XML are not implicitly closed. They require the explicit /.
[–]
conartist6
1mo ago
XML can handle <img /> but not <img> followed by tagsoup (like HTML handles).