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

Jan Høydahl resolved SOLR-11587.
--------------------------------
    Resolution: Won't Do

I believe we disabled and other fancy XML features due to security issues such 
as [https://nvd.nist.gov/vuln/detail/CVE-2018-8010,] so closing this as won't 
do.

> Support xpointer attribute in xinclude to help reuse/modularization of 
> schema.xml/solrConfig.xml
> ------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-11587
>                 URL: https://issues.apache.org/jira/browse/SOLR-11587
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrCloud, SolrJ
>            Reporter: Apurv Nerlekar
>            Priority: Minor
>              Labels: newbie, solr, solr.xml, solrcloud
>
> The xinclude tag does have xpointer support as per 
> http://www.w3.org/2001/XInclude which helps include specific tags from 
> external xml's. Please support xpointer in solr as well. This will help in 
> modularization and reusability.
> Eg:
> child.xml = 
> <root>
>    <field>1</field> 
>    <field>2</field> 
> </root>
> schema.xml = 
> <fields>
> <xi:include href="child.xml" *xpointer=(//root)*  
> xmlns:xi="http://www.w3.org/2001/XInclude";>
> </fields>
> References:
> 1. "The Xerces parser, used by default in Solr, doesn't support the 
> xpointer="xpointer()" scheme." from 
> https://wiki.apache.org/solr/SolrConfigXml#XInclude
> 2. 
> http://lucene.472066.n3.nabble.com/XInclude-Multiple-Elements-td3167658.html



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to