Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by jxramos

2 hours ago

I'm curious, what exactly in the DOM is not XML-compatible?

2 comments

jxramos

Reply

degamad  1 hour ago

From long-lost memory, I think it's implicitly closed tags (e.g. img).

  • jdiff  1 hour ago

    XML can handle implicitly closed tags, they call them "empty" in the spec here:

    https://www.w3.org/TR/xml/#sec-starttags

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities