Re: xsl:comment problem
Peter Van der Beken <[email protected]> Fri, 09 Mar 2007 11:41:34 +0100
| Newsgroups | gmane.comp.mozilla.devel.layout.xslt |
|---|---|
| Message-ID | <[email protected]> |
Peter Van der Beken wrote: > Thomas Comiotto wrote: >> <xsl:comment> >> <foo>bar</foo> >> </xsl:comment> >> >> <!-- >> bar >> --> > > http://www.w3.org/TR/xslt#section-Creating-Comments: > "It is an error if instantiating the content of xsl:comment creates > nodes other than text nodes. An XSLT processor may signal the error; if > it does not signal the error, it must recover by ignoring the offending > nodes together with their content." Btw, that means there is a bug, we should not output bar. Please file one at bugzilla.mozilla.org Peter