: For ex : which jar of solr contains org.xml.sax. .. package.
none of them. it's an "endoresed standard" provided by the JRE (but
overridable at runtime if you'd like to use an alternate
implementation) ...
http://java.sun.com/j2se/1.5.0/docs/guide/standards/
-Hoss
Hello..,
1) Yeah, I have found that before. But, which .jar file of
Solr ( should be one of the jars inside Solr ) contains all the
supporting classes related to xml parsing.
For ex : which jar of solr contains org.xml.sax. .. package.
2) Do you mean, I can straightly use SAX api, f
Config.java (which parses e.g. solrconfig.xml) in the solr core code has:
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.xml.sax.SAXException;
import org.apache.solr.common.SolrException;
import org.apache.solr.common.util.DOMUtil;
import javax.xml.parsers.*;
import javax.xml.xpa
Hello ,
There are some project specific schema xml files which should
be parsed. I have used Jdom API for the same. But it seems more clean
to shift to xml parser used by Solr itself. I have gone through source
codes.Its a bit confusing. I have found javax.xml package and also
org.xml.sax