XML::LibXSLT bug, comments in xsl:text

Hi Matt,

  Using XML::LibXSLT I came across the following bug in XML::LibXSLT. On
the following construct,

  <xsl:text><!--comment--> <!--comment--></xsl:text>
  ...
  <xsl:text><!--comment--> <!--comment--></xsl:text>

I get

  compilation error: file foo.xslt element text
  xsltParseTemplateContent: xslt:text content problem
  compilation error: file foo.xslt element text
  xsltParseTemplateContent: xslt:text content problem

on STDERR. Would be neat if it'd also report line/column on errors. The
bug -- disallowing comments in xsl:text elements -- is most likely
inherited from libxslt...

regards.

Received on Tuesday, 3 December 2002 22:23:10 UTC