[ http://issues.apache.org/jira/browse/XALANJ-1268?page=all ]
Morris Kwan closed XALANJ-1268:
-------------------------------
Assign To: (was: Xalan Developers Mailing List)
> function-available throws NPE with extension function
> -----------------------------------------------------
>
> Key: XALANJ-1268
> URL: http://issues.apache.org/jira/browse/XALANJ-1268
> Project: XalanJ2
> Type: Bug
> Components: Xalan-extensions
> Versions: Latest Development Code
> Environment: Operating System: All
> Platform: All
> Reporter: Morris Kwan
> Attachments: patch_bug_14149.txt, patch_bug_14149.txt, patch_bug_14149.txt
>
> function-available throws a NullPointerException if the function name is an
> extension function. This problem only happens on Xalan. XSLTC works correctly.
> Example:
> <?xml version="1.0"?>
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
> xmlns:math="http://exslt.org/math"
> exclude-result-prefixes="math">
>
> <xsl:template match="/">
> <xsl:value-of select="function-available('math:lowest')"/>
> </xsl:template>
> </xsl:stylesheet>
--
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]