The following issue has been updated:
Updater: Oz Kologlu (mailto:[EMAIL PROTECTED])
Date: Wed, 22 Sep 2004 2:42 AM
Comment:
Stack trace attached
Changes:
Attachment changed to stacktrace.txt
---------------------------------------------------------------------
For a full history of the issue, see:
http://issues.apache.org/jira/browse/XALANJ-1963?page=history
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/XALANJ-1963
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XALANJ-1963
Summary: URIResolver errors
Type: Bug
Status: Unassigned
Priority: Major
Project: XalanJ2
Components:
Xalan
Other
Versions:
2.6
Assignee:
Reporter: Oz Kologlu
Created: Wed, 22 Sep 2004 2:39 AM
Updated: Wed, 22 Sep 2004 2:42 AM
Environment: WinXP,
J2sdk 1.4.2_05,
Jboss 3.2.5 App server.
Description:
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
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]