[ http://issues.apache.org/jira/browse/XALANJ-1812?page=all ]
Brian Minchau updated XALANJ-1812:
----------------------------------
Version: 2.6
(was: Latest Development Code)
> xsl:apply-imports does not work if the pattern is a NameTest with predicate
> ---------------------------------------------------------------------------
>
> Key: XALANJ-1812
> URL: http://issues.apache.org/jira/browse/XALANJ-1812
> Project: XalanJ2
> Type: Bug
> Components: XSLTC
> Versions: 2.6
> Environment: Operating System: Other
> Platform: Other
> Reporter: Joanne Tong
> Assignee: Xalan Developers Mailing List
> Attachments: patch_bug_27476.txt
>
> input:
> <?xml version="1.0"?>
> <doc><foo/></doc>
> principal stylesheet:
> <?xml version="1.0"?>
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> version="1.0">
> <xsl:import href="input.xsl" />
> <xsl:template match="doc[foo]">
> <a>
> <xsl:apply-imports />
> </a>
> </xsl:template>
> </xsl:stylesheet>
> input.xsl:
> <?xml version="1.0"?>
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> version="1.0">
> <xsl:template match="doc">
> <b/>
> </xsl:template>
> </xsl:stylesheet>
> expected output (from interpretive):
> <?xml version="1.0" encoding="UTF-8"?><a><b/></a>
> current output (from xsltc):
> <?xml version="1.0" encoding="UTF-8"?><a/>
--
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]