Hi,
I'm baaack :)
I have found a bug with ancestor-or-self, namespaces and a wildcard match.
In the choose/when/@test if you have something like t:* you get the error
posted below. If it is changed to t:folder it works. Is this enough info or
would you like me to open a bug with test files?
<xsl:template name="restrict">
<xsl:choose>
<xsl:when test="boolean(ancestor-or-self::t:[EMAIL PROTECTED])">
<xsl:text>folder id: </xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>restriced id: </xsl:text>
</xsl:otherwise>
</xsl:choose>
<xsl:value-of select="@id"/>
<br/>
</xsl:template>
ERROR: 'Iterator for typed axis 'ancestor-or-self' not supported.'
TransformFilter: javax.xml.transform.TransformerException:
java.lang.RuntimeException: Iterator for typed axis 'ancestor
-or-self' not supported.
javax.xml.transform.TransformerException: java.lang.RuntimeException:
Iterator for typed axis 'ancestor-or-self' not sup
ported.
at
org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:7
12)
at
org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:3
07)
at
com.livestoryboard.config.projects.TransformFilter.doFilter(Unknown Source)
Thanks,
-Rob