FAQ Database Discussion Community


solrException. XML parser doesn't support XInclude option

xml,tomcat,solr,lucene,xinclude
After configuring solr4.7.2 with tomcat 7, got the error in solrAdmin page stating SolrCore Initialization Failures fran92:org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: XML parser doesn't support XInclude option My solr.xml file contains one core <?xml version="1.0" encoding="UTF-8" ?> <solr persistent="true"> <cores host="${host:}" adminPath="/admin/cores" hostContext="${hostContext:solr}"> <core config="solrconfig.xml" name="fran92" instanceDir="generic" schema="schema.xml"...

XML XInclude looses namespace in included nodes

xml,xml-namespaces,xsd-validation,xinclude
I'm trying to use namespaces on a xml file composed by more files. XML Schema <?xml version="1.0" encoding="utf-8"?> <xsd:schema version="1.0" attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:mynamespace" targetNamespace="urn:mynamespace"> <xsd:element name="main_element" type="typeMainElement" /> <xsd:complexType name="typeMainElement"> <xsd:sequence> <xsd:element name="inner_element" type="typeInnerElement" />...

jQuery Ajax calling XML with Xinclude

jquery,ajax,xml,xinclude
So I got three levels of XML: app.xml includes 4 categories (XML-files). Each category includes a number of entries. The including part is right now done with Xinclude. My script runs an Ajax function getting the first xml, app.xml right now, but won't see through the Xinclude. To clarify, I...