- From: Dieter Köhler <dieter.koehler@ppp.uni-bamberg.de>
- Date: Fri, 22 Sep 2000 23:44:44 +0200
- To: "www-dom@w3.org" <www-dom@w3.org>
> >> <!-- ----> > >... > > It's well-formed; the only sequences that matter in a comment are "--" > > (illegal) and "-->" (terminator).All other characters are so much junk. For completeness: A a comment with a nodeValue ending in the character '-' is also well-formed (see XML Erratum 27). > That's about what I expected. The problem is that the DOM has committed to > showing people their "junk", so we have to decide whether the content of > that comment should be reported as " -- " or " -- " The XML spec says that comments are not part of the document's character data (§ 2.5), likewise prod. [15] does not refer to 'CharRef' (prod. [66]) when defining 'Comment'. This seems to me to be a strong indication, that the character sequence '--' in a comment is ontologically nothing else than a character sequence. -- ===================================================================== Dieter Köhler, M. A. - dieter.koehler@ppp.uni-bamberg.de Mittlere Kaulberg 22, D-96049 Bamberg, +49(0)951-5190726 "http://www.philo.de/Philosophie-Seiten/": 1000+ Philosophie-Links "http://www.philo.de/VirtualLibrary/14.de.htm": Deutsche Philo-Links "http://www.philo.de/xml/": Open XML - XML-Komponenten für Delphi =====================================================================
Received on Friday, 22 September 2000 17:45:59 UTC