Y
Hacker News
new
|
ask
|
show
|
jobs
by
jdiff
44 days ago
XML can handle implicitly closed tags, they call them "empty" in the spec here:
https://www.w3.org/TR/xml/#sec-starttags
2 comments
plorkyeran
44 days ago
Empty tags in XML are not implicitly closed. They require the explicit /.
link
conartist6
44 days ago
XML can handle <img /> but not <img> followed by tagsoup (like HTML handles).
link