News for hackers. Stuff that matters.
Re:Seeking an Answer: Why can't HTML alone do includes? by int_19h on Sunday May 04, 2025 @04:23AM (#43885364)
Me personally, I didn't even care that much about strict semantic web, but XML has the benefits of the entire ecosystem around it (like XPath and XSLT), composable extensibility in form of namespaces etc. It was very frustrating to see all that thrown out with HTML5, and the reasoning never made any sense to me (backwards compatibility with pre-XHTML pages would be best handled by defining a spec according to which they should be converted to XHTML).
Re:Seeking an Answer: Why can't HTML alone do includes? by immibis on Sunday May 04, 2025 @08:01AM (#43886239)
If XHTML was literally just HTML but with XML syntax, it would be pretty cool.
Re:Seeking an Answer: Why can't HTML alone do includes? by jraph on Sunday May 04, 2025 @11:02AM (#43887100)
isn't it what XHTML5 is, more or less?
Re:Seeking an Answer: Why can't HTML alone do includes? by bazoom42 on Sunday May 04, 2025 @04:14PM (#43889226)
It is.
Re:Seeking an Answer: Why can't HTML alone do includes? by immibis on Sunday May 04, 2025 @04:56PM (#43889506)
XHTML 1.0 was, and they evolved it incompatibly.
Re:Seeking an Answer: Why can't HTML alone do includes? by bazoom42 on Monday May 05, 2025 @02:39AM (#43892475)
There was an ill-advised XHtml 2.0 project which was supposed to be incompatible, but it was abandoned. Currently xhtml is defined as an alternative “serialization” of html, but the semantics are exactly the same as html.
Re:Seeking an Answer: Why can't HTML alone do includes? by int_19h on Monday May 05, 2025 @12:51AM (#43892012)
That's exactly what it was, though - HTML 4.01 Strict but with XML syntax.