lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <>
Subject [jira] Commented: (SOLR-1656) XInclude's are resolved relative CWD, not instance dir
Date Wed, 23 Feb 2011 19:14:38 GMT


Uwe Schindler commented on SOLR-1656:


I'm not positive, believe we could actually take this further by using ClassLoader.getResource()
to generate a systemId for items pulled from the classpath as well (but i'm not sure if hte
resulting URLs would be of any use to the DocumentBuilder if it doesn't also use the SolrResourceLoader)

That's perfectly fine, all XML parsers support any URL that java's URL class can load. To
passing new InputSource(URL.toString()) always works with all known parsers (see above).

> XInclude's are resolved relative CWD, not instance dir
> ------------------------------------------------------
>                 Key: SOLR-1656
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 1.4
>            Reporter: Hoss Man
>         Attachments: SOLR-1656_Support_SAX_SystemId_via_wrapping_InputStream.patch, Support_SAX_SystemId_via_wrapping_InputStream.patch
> 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...

This message is automatically generated by JIRA.
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message