You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2011/02/23 18:17:38 UTC
[jira] Updated: (SOLR-1656) XInclude's are resolved relative CWD,
not instance dir
[ https://issues.apache.org/jira/browse/SOLR-1656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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 in StreamResult.java.
* 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: https://issues.apache.org/jira/browse/SOLR-1656
> 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...
> http://old.nabble.com/using-Xinclude-with-multi-core-to26548400.html#a26548400
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org