W3C home > Mailing lists > Public > www-archive@w3.org > December 2002

XML::LibXSLT bug, comments in xsl:text

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Wed, 04 Dec 2002 04:23:18 +0100
To: matt@sergeant.org
Cc: www-archive@w3.org
Message-ID: <3e2c70df.194948020@smtp.bjoern.hoehrmann.de>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 7 November 2012 14:17:24 GMT