[xslt] Bug: xsltCompilePattern : failed to compile '@node()'

Hi Daniel, hi folks,

Chance ruled that I stumble into an alternative, symmetrical syntax
for the identity template, which goes like this:

  <xsl:template match="@node()|node()">
      <xsl:apply-templates select="@node()|node()"/>

Isn't it nice and symmetrical? Unfortunately, LibXSLT 1.1.24 doesn't
share my sense of aesthetics yet, and refuses to compile the expression
when it occurs in the match pattern. As a path expression, this compiles.

If you need more input or want me to enter this in the bug database,
please say so.


Michael Ludwig

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