Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-11587

Support xpointer attribute in xinclude to help reuse/modularization of schema.xml/solrConfig.xml

    Details

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              anerlekar Apurv Nerlekar
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: