- From: <bugzilla@jessica.w3.org>
- Date: Thu, 20 Mar 2014 04:46:39 +0000
- To: public-html-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24451 --- Comment #10 from Liam R E Quin <liam@w3.org> --- Leif, thanks for your detailed response. My comment was not about the intent, I'm fine with that, but just about the phrasing. There are no nodes in a text file. There are nodes inan XML document, nor in an HTML document, before you parse it. So it doesn't actually make sense to say there must be no nodes before a CDATA section, because there will never be any nodes before a CDATA section. The nodes are constructed by some (not all) XML parsers and HTML parsers (e.g. a validator might stream the document and never construct an in-memory tree). The nodes are a result of parsing, and are not in the input document. So, "A CDATA section must appear at the start of its containing element, and hence be the first child of that element" would be fine, as would a note talking about DOM nodes. The point of this spec is to be a bridge between two worlds; yes, you're right, we have to compromise, but it's best to be clear and to write text that actually applies to both worlds, not, through accident, text that applies to neither world :-) Thanks. -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Thursday, 20 March 2014 04:46:40 UTC