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, for the parsing stuff.?? Thanks.
2010/1/5 Peter Wolanin <peter.wola...@acquia.com>: > 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.xpath.XPath; > import javax.xml.xpath.XPathFactory; > import javax.xml.xpath.XPathConstants; > import javax.xml.xpath.XPathExpressionException; > import javax.xml.namespace.QName; > > On Tue, Jan 5, 2010 at 10:05 AM, Smith G <gudumba.sm...@gmail.com> wrote: >> 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 package . May I know which API should I use so that there >> is no need to add some external jar file to the solr-lib . I am also >> looking for the jar file ( in solr ) in which xml parser api is >> included. >> Thanks >> > > > > -- > Peter M. Wolanin, Ph.D. > Momentum Specialist, Acquia. Inc. > peter.wola...@acquia.com >