[ 
https://issues.apache.org/jira/browse/SOLR-1167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12753840#action_12753840
 ] 

Henri Biestro commented on SOLR-1167:
-------------------------------------

Just a thought; wouldn'it be possible to use system entities (as in SOLR-712 / 
SOLR-646) to have variables resolution in entities and use those in the 
xi:include href ? 
{code}
<!DOCTYPE schema [
<!ENTITY myevar SYSTEM "solr:${myvar}">
]>
...
<xi:include href="&myevar;".../>
...
{code}
This would allow include of files using variables using standards without 
reverting the inclusion logic.

In any case, thanks Bryan for pushing this.

> Support module xml config files using XInclude
> ----------------------------------------------
>
>                 Key: SOLR-1167
>                 URL: https://issues.apache.org/jira/browse/SOLR-1167
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Bryan Talbot
>            Priority: Minor
>         Attachments: SOLR-1167.patch, SOLR-1167.patch, SOLR-1167.patch
>
>
> Current configuration files (schema and solrconfig) are monolithic which can 
> make maintenance and reuse more difficult that it needs to be.  The XML 
> standards include a feature to include content from external files.  This is 
> described at http://www.w3.org/TR/xinclude/
> This feature is to add support for XInclude features for XML configuration 
> files.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to