[ http://issues.apache.org/jira/browse/XALANJ-1963?page=all ]

Brian Minchau updated XALANJ-1963:
----------------------------------

    Fix Version: 2.7

> URIResolver errors
> ------------------
>
>          Key: XALANJ-1963
>          URL: http://issues.apache.org/jira/browse/XALANJ-1963
>      Project: XalanJ2
>         Type: Bug
>   Components: Other, Xalan
>     Versions: 2.6
>  Environment: WinXP, 
> J2sdk 1.4.2_05,
> Jboss 3.2.5 App server.
>     Reporter: Oz Kologlu
>      Fix For: 2.7
>  Attachments: stacktrace.txt
>
> When running under JBoss 3.2.5 I create a custom URIResolver to handle 
> <xsl:import href=".."/> files within a stylesheet.
> The URIResolver is only supposed to be executed for imports and includes. 
> However I get multiple events fired on URIResolver. This isn't so bad since 
> returning null form the URIResolver should let the systemid resolver handle 
> the resolution. However, subsequent calls seem to lose the href and base - 
> eventually leading to a NPE. Why would the URIResolver be executed multiple 
> times? And why would href and base be empty/null?
> This is a trace of the href and base being passed to my URI resolver:
> Resolving:
> href[date.add.template.xsl]
> base[file:///C:/myapp.ear/my-ejb-jar/xsls/my.xsl]
> Returning: Source...
> Resolving:
> href[] (NOTE: empty string)
> base[null]
> Returning: null
> Resolving: 
> href[null] 
> base[null]
> Returning: null
> FYI: the date.add.template.xsl is the xslt from 
> http://www.exslt.org/date/functions/add/index.html
> Thanks,
> Oz

-- 
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]

Reply via email to