[ https://issues.apache.org/jira/browse/SOLR-1656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12888541#action_12888541 ]
Joachim Martin commented on SOLR-1656: -------------------------------------- I'm having a similar problem with using XInclude to import a transformers.js script file in DataImportHandler: <script xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:include parse="text" href="file:transformers.js"/> </script> At runtime, the XML parser looks for this in my solr directory, not parallel to my db-data-config.xml (in the core/conf directory). Having the source for script transformers in a separate js file allows me to use an IDE to check syntax, etc- very helpful. > 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 > > > 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. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org