You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2007/05/01 15:51:30 UTC
[Solr Wiki] Update of "SolrResin" by KenKrugler
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The following page has been changed by KenKrugler:
http://wiki.apache.org/solr/SolrResin
The comment on the change is:
Add note about Resin issue with XML parsing
------------------------------------------------------------------------------
</web-app>
}}}
+
+ === Resin's XML Parsing Problems ===
+
+ Note that many versions of Resin have shipped with an XML parser implementation that's a bit sketchy.
+
+ This typically shows up with you get an error during schema parsing.
+
+ There's a section near the beginning of the {{{web.xml}}} file, which (if uncommented) switches the XML parser to Xerces.
+
+ {{{
+ <!-- Uncomment if you are trying to use a Resin version before 3.0.19.
+ Their XML implementation isn't entirely compatible with Xerces.
+ Below are the implementations to use with Sun's JVM.
+ <system-property javax.xml.xpath.XPathFactory=
+ "com.sun.org.apache.xpath.internal.jaxp.XPathFactoryImpl"/>
+ <system-property javax.xml.parsers.DocumentBuilderFactory=
+ "com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl"/>
+ <system-property javax.xml.parsers.SAXParserFactory=
+ "com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl"/>
+ -->
+ }}}
+
+ Note that versions after 3.0.19 have also been reported as having issues with parsing of odd (but still legal) XML.
+