[ 
http://issues.apache.org/jira/browse/XALANJ-2297?page=comments#action_12383324 
] 

Brian Minchau commented on XALANJ-2297:
---------------------------------------

In my previous comment I had a typo with path2 vs. path3.  I meant to write 
this:

With your own URI resolver set, to resolve path2/sheet2.xsl 
the URI resolver gets called with an href of 
path2/sheet2.xsl and base of the primary stylesheet (OK). 

Then from within sheet2.xsl the resolver gets called again to resolve 
path3/sheet3.xsl, 
with an href of path3/sheet3.xsl and base of the primary stylesheet (WRONG). 
The base uri 
at this point should be the absolute URI of sheet2.xsl, not the absolute URI of 
the primary sheet1.xsl 


> URIResolver passed wrong base URI for nested include/import
> -----------------------------------------------------------
>
>          Key: XALANJ-2297
>          URL: http://issues.apache.org/jira/browse/XALANJ-2297
>      Project: XalanJ2
>         Type: Bug

>   Components: parse-or-compile
>     Versions: Latest Development Code
>     Reporter: Brian Minchau
>     Assignee: Brian Minchau
>  Attachments: 2297.zip, patch.txt
>
> When a user's URI resolver is called the base URI it is given is always the 
> base uri of the primary document. If an included or imported stylesheet 
> itself include another stylesheet then at this point the base is wrong.

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