[ 
https://issues.apache.org/jira/browse/SOLR-1656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Uwe Schindler updated SOLR-1656:
--------------------------------

    Attachment: SOLR-1656.patch

Here is a new patch, redesigned:

- The resolver was moved into a util class in common pkg. This resolver 
supports all types EntityResolver, URIResolver, XMLResolver used by 
inconsistent XML APIs to resolve systemIds
- The backwards breaks were minimized (only in IndexSchema the InputStream was 
changed to InputSource, because Config needs that).
- Not only xincludes use ResourceLoader, also XSLTResponseWriter takes care, so 
includes/imports of stylesheets are done by ResourceLoader
- DIH also loads its config file and support xinclude from ResourceLoader. The 
API was changed to remove the stupid String containing the config file (that 
was crazy!)
- DIH's XSL loader in XPathEntityProcessor was changed to also use 
ResourceLoader, before it always used CWD!!!
- XInclude is only enabled, if a systemId is available

I will wait a day until I commit, please review!

> 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
>            Assignee: Uwe Schindler
>             Fix For: 3.1, 4.0
>
>         Attachments: SOLR-1656-mockup.patch, SOLR-1656.patch, 
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to