xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Satya Narayan Dash" <ndsa...@rediffmail.com>
Subject Re: Re: A newbie question
Date Fri, 05 Mar 2004 05:04:07 GMT
Hi Christian,<BR>
The explanation is lucid and great. Thanks for clarifying so many things. <BR>
On Wed, 03 Mar 2004 Christian Dickert wrote :<BR>
&gt;Hi Satya,<BR>
&gt;Satya wrote:<BR>
&gt; &gt; I do not which jar is used for which purpose in XML?<BR>
&gt;First of all, maybe you should think of distributions, not single JAR files.<BR>
&gt;Most Apache distributions contain quite a lot of jars, which may not all be<BR>
&gt;needed for compilation of your project, but usually most of them will be<BR>
&gt;needed at runtime. So be sure to download complete distributions and read their<BR>
&gt;instructions carefully. And don't forget to have a look at the included<BR>
&gt;examples. Last but not least, be very careful when stripping a distribution and<BR>
&gt;always include license files of used distributions with your application.<BR>
&gt; &gt; crimson.jar --&gt; ?<BR>
&gt;Well, the most basic component you will ever need in your XML-enabled<BR>
&gt;application is an XML parser, which is responsible for all the XML processing and<BR>
&gt;implementing the APIs (DOM, SAX etc.).<BR>
&gt;&quot;Crimson&quot; is a Java-based implementation of an XML parser that is
&gt;powerful und relatively lightweight. It is based on the Sun Project X parser.<BR>
&gt;The Crimson project has been hibernated in favor of Xerces 2, which is the<BR>
&gt;most up-to-date Apache XML parser.<BR>
&gt; &gt; xerces.jar --&gt; ?<BR>
&gt;&quot;Xerces 2&quot; is one of the most advanced XML parsers out there, and
&gt;probably your best choice when creating an XML-enabled Java application. The first<BR>
&gt;Xerces parser originated from IBM's XML4J parser. On the downside, its not<BR>
&gt;really lightweight.<BR>
&gt; &gt; jaxp.jar --&gt; ?<BR>
&gt;Sun's Java API for XML processing is simply an API that separates basic XML<BR>
&gt;processing calls from any specific parser implementation. So, if you ever<BR>
&gt;plan to switch parsers in your application, be sure to use JAXP calls instead of<BR>
&gt;parser-specific calls. Most modern Java-based XML parsers, including Crimson<BR>
&gt;and Xerces, support JAXP.<BR>
&gt; &gt; xalan.jar --&gt; ?<BR>
&gt;&quot;Xalan 2&quot; is one of the most powerful XSL-T processors out there.
So if you<BR>
&gt;plan to do Stylesheet transformations in your Java application, Xalan is<BR>
&gt;probably your best choice. Way back, this one has been known as LotusXSL and was<BR>
&gt;donated to the Apache XML project by IBM.<BR>
&gt; &gt; Also, there are some other jars like (xercesImpl.jar).<BR>
&gt; &gt; I am aware of the DOM and SAX models.<BR>
&gt; &gt; But do not know why so many jars are there and when to use which one??<BR>
&gt; &gt; Can you please let me know,<BR>
&gt;As I mentioned above, most packages use quite a lot of JAR files. Your<BR>
&gt;application might compile with just the interfaces contained in xerces.jar, but at<BR>
&gt;runtime, you will need the Xerces implementation contained in<BR>
&gt;xercesImpl.jar. You need to mount most of them, if not all, in the correct order.
Refer to<BR>
&gt;any available instructions or examples for that or post on one of the mailing<BR>
&gt;lists if you have a specific question.<BR>
&gt;Hope I could help you out on this one,<BR>
&gt;+++ NEU bei GMX und erstmalig in Deutschland: TÜV-geprüfter Virenschutz +++<BR>
&gt;100% Virenerkennung nach Wildlist. Infos: http://www.gmx.net/virenschutz<BR>
&gt;To unsubscribe, e-mail: general-unsubscribe@xml.apache.org<BR>
&gt;For additional commands, e-mail: general-help@xml.apache.org<BR>

<A target="_blank" HREF="http://clients.rediff.com/signature/track_sig.asp"><IMG

View raw message