lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erick Erickson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-11587) Support xpointer attribute in xinclude to help reuse/modularization of schema.xml/solrConfig.xml
Date Tue, 31 Oct 2017 22:59:00 GMT

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

Erick Erickson commented on SOLR-11587:
---------------------------------------

Patches welcome!

> 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
>      Security Level: Public(Default Security Level. Issues are Public) 
>          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
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message