[
https://issues.apache.org/jira/browse/SOLR-1656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12790460#action_12790460
]
Paul Libbrecht commented on SOLR-1656:
--------------------------------------
I may be very wrongly informing but using
i = new InputSource(<theInputStream>);
i.setSystemId(file.toURL().getExternalForm());
is a recipe that has worked many times and allows relative resolution.
new InputSource(file.toURL())
should as well.
paul
> XInclude's are resolved relative CWD, not instance dir
> ------------------------------------------------------
>
> Key: SOLR-1656
> URL: https://issues.apache.org/jira/browse/SOLR-1656
> Project: Solr
> Issue Type: Bug
> Affects Versions: 1.4
> Reporter: Hoss Man
>
> As noted on the mailing list, when an XInclude in a config files refrences a
> relative path, it's resolved relative the CWD of the servlet container, and
> not the instanceDir of the core...
>
> http://old.nabble.com/using-Xinclude-with-multi-core-to26548400.html#a26548400
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.