HTML5: HTML VS XHTML spec question regarding comments

Posted by NoozNooz42 on Stack Overflow See other posts from Stack Overflow or by NoozNooz42
Published on 2010-06-03T19:49:06Z Indexed on 2010/06/03 19:54 UTC
Read the original article Hit count: 319

Filed under:
|
|

In the W3C working draft for HTML5 here's a line I find confusing:

http://www.w3.org/TR/html5/introduction.html#html-vs-xhtml

Comments that contain the string "-->" can be represented in the DOM but not in the HTML syntax or in XML.

I can interpret this in two different ways:

  • Comments that contain the string "-->" can be represented in XML and in the DOM but not in the HTML syntax

  • Comments that contain the string"-->" can be represented in the DOM but neither in the HTML syntax nor in XML.

I really find the original formulation highly confusing. Which one does it mean and is it even correct english?

Who should I contact if I want to point out that I find such a wording highly confusing and that hence there's a high probability that other non-native english speaker would find this kind of formulation highly confusing too?

© Stack Overflow or respective owner

Related posts about html5

Related posts about w3c