Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 93822 invoked from network); 23 Feb 2011 19:15:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Feb 2011 19:15:01 -0000 Received: (qmail 48191 invoked by uid 500); 23 Feb 2011 19:15:00 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 47994 invoked by uid 500); 23 Feb 2011 19:14:59 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 47983 invoked by uid 99); 23 Feb 2011 19:14:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Feb 2011 19:14:59 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Feb 2011 19:14:58 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C700D1B39D5 for ; Wed, 23 Feb 2011 19:14:38 +0000 (UTC) Date: Wed, 23 Feb 2011 19:14:38 +0000 (UTC) From: "Uwe Schindler (JIRA)" To: dev@lucene.apache.org Message-ID: <254998128.11627.1298488478811.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Commented: (SOLR-1656) XInclude's are resolved relative CWD, not instance dir MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-1656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12998509#comment-12998509 ] Uwe Schindler commented on SOLR-1656: ------------------------------------- Hoss: {quote} 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) {quote} 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: 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