[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Simple] Re: draft-xml-patch and the comments



On Wed, Feb 08, 2006 at 03:56:53PM +0200,
 Jari Urpalainen <jari.urpalainen at nokia.com> wrote 
 a message of 112 lines which said:

> So you say XPath, c14n etc. are evil, bad xml ;-). 

I've reread the Xpath specifiation and, while there is a comment()
test, it does not clearly say that comments MUST be processed (the XML
specification clearly says that it is not mandatory).

And you say that XSLT is bad :-) because XSLT treat comments
as... comments, not as information items like you do in your draft.

<xsl:template match="foo/bar">
   <xsl:comment>This one will be added as a comment in the
   output.</xsl:comment>
   <!-- This one is a real comment, it will be ignored -->
</xsl:template>

_______________________________________________
Simple mailing list
Simple at ietf.org
https://www1.ietf.org/mailman/listinfo/simple