lucene-dev mailing list archives

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


David Smiley updated SOLR-1656:

    Attachment: Support_SAX_SystemId_via_wrapping_InputStream.patch

I provided an updated patch:
* Using Hoss's suggestion of a HasSystemId interface. However note I couldn't do away with
the InputStreamWithSystemId class since Hoss's suggestion of an anonymous inner class doesn't
allow extending and implementing an interface at the same time.
* Added documentation of file.toURI().toASCIIString(), which is per rule specified in RFC
2396. I don't claim credit for knowing this, I stole this comment and code out of the JDK
* Updated test to _not_ include the hack of copying the resource to the CWD.

Is this going to make it into 3.1? 

> 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