[ http://issues.apache.org/jira/browse/XALANJ-2131?page=all ]
Henry Zongaro resolved XALANJ-2131:
-----------------------------------
Resolution: Cannot Reproduce
We've not been able to reproduce the problem as described. If you are still
able to reproduce the problem, please reopen this bug report and attach a
complete stylesheet and input document that demonstrates the problem. We'd
love to be able to help.
> no xhtml or rdf parsing?
> ------------------------
>
> Key: XALANJ-2131
> URL: http://issues.apache.org/jira/browse/XALANJ-2131
> Project: XalanJ2
> Type: Bug
> Components: parse-or-compile
> Versions: 2.6
> Environment: Windows NT, java 1.5.0_02-b09
> Reporter: Siegfried Gipp
>
> i'm currently learning xsl with xalan-j. Besides working quite well there are
> two strange exceptions where xalan-j seems not to work at all.
> When the root element of the source xml file is rdf:RDF or html (for an xhtml
> 1.0 file), the template for the "/" element matches, but no template for
> "html", "/html", "rdf:RFD" or "/rdf:RDF" matches. When i change the root
> elements to "xyz" in both files, the xml source file and the xsl stylesheet,
> then i get the template working. Changing it back to html resp. rdf:RDF stops
> the template working.
> strange enough, but in a construct like:
> <xsl:template match="/">
> <xsl:for-each select="*">
> <xsl:value-of select="name(.)"/>
> </xsl:for-each>
> </xsl:template>
> prints out the root element name, be it rdf:RDF or html. But:
> <xsl:template match="/">
> <xsl:apply-templates select="html"/>
> <xsl:apply-templates select="/html"/>
> </xsl:template>
> does not call the appropriate template, neither the first call nor the
> second. The same for rdf:RDF. Any other root element i tested up to now works.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]