lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <>
Subject [jira] Updated: (SOLR-1656) XInclude's are resolved relative CWD, not instance dir
Date Sat, 26 Feb 2011 20:27:58 GMT


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:
>             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,
> 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