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
<P>
Hi Christian,<BR>
<BR>
The explanation is lucid and great. Thanks for clarifying so many things. <BR>
<BR>
Regards,<BR>
Satya.<BR>
<BR>
<BR>
On Wed, 03 Mar 2004 Christian Dickert wrote :<BR>
&gt;Hi Satya,<BR>
&gt;<BR>
&gt;Satya wrote:<BR>
&gt; &gt; I do not which jar is used for which purpose in XML?<BR>
&gt;<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;<BR>
&gt;<BR>
&gt; &gt; crimson.jar --&gt; ?<BR>
&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
quite<BR>
&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;<BR>
&gt;<BR>
&gt; &gt; xerces.jar --&gt; ?<BR>
&gt;<BR>
&gt;&quot;Xerces 2&quot; is one of the most advanced XML parsers out there, and
its<BR>
&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;<BR>
&gt;<BR>
&gt; &gt; jaxp.jar --&gt; ?<BR>
&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;<BR>
&gt;<BR>
&gt; &gt; xalan.jar --&gt; ?<BR>
&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;<BR>
&gt;<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;<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;<BR>
&gt;Hope I could help you out on this one,<BR>
&gt;Christian.<BR>
&gt;<BR>
&gt;--<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;<BR>
&gt;<BR>
&gt;---------------------------------------------------------------------<BR>
&gt;To unsubscribe, e-mail: general-unsubscribe@xml.apache.org<BR>
&gt;For additional commands, e-mail: general-help@xml.apache.org<BR>
&gt;<BR>

</P>
<br><br>
<A target="_blank" HREF="http://clients.rediff.com/signature/track_sig.asp"><IMG
SRC="http://ads.rediff.com/RealMedia/ads/adstream_nx.cgi/www.rediffmail.com/inbox.htm@Bottom"
BORDER=0 VSPACE=0 HSPACE=0 HEIGHT=74 WIDTH=496></a>

Mime
View raw message