Re: lost in XML
- From: "gk" <srcjnu@xxxxxxxxx>
- Date: 28 Nov 2006 05:12:57 -0800
probing@xxxxxxxxx wrote:
As far as I know, DOM and SAX are two kinds of standar API for
programming with XML.
Meanwhile, JDOM and JAXP are one of the implementation for each of them
separately.
are you sure ? you said ..its implementation ......but JAXP = java API
for XML Processing.
is not it an just API ?
and when it says , ".....JAXP supports SAX and DOM..".........
.....what it means ? does it mean , that it has all the interfaces
whatever the SAX and DOM has ....and also some more extra it has
.................is this correct ?
P.S. there is a another XML processing method, like KXML, which is a
"pull" parser which will require less system memory.
"gk 写道:
"
Hi,
I am getting confused in XML processing.
i have read SAX API ...its event driven
I have read DOM API ....its Tree structured.
I found two more ! ....JAXP and JDOM.
are these two (JAXP,JDOM) different API or these have been derived
from the SAX,DOM ?
If these are really different API , then i am worried about ,why there
is no standardization ? if every X,Y,Z people starts inventing their
own API , it would be a total chaos .......
may be , i am wrong , JAXP and JDOM could be an extenstion of SAX ,
DOM ......am i right ?
same problem would be for vendors also, they will be also confused to
implement which API ....is not it ?
For example, I know XERCES-J , it implements SAX and DOM both ......i
know JAXP is of SUN.
what i dont know, is whether JAXP has been derived from SAX-DOM or is
a complete different API ?
.
- Follow-Ups:
- Re: lost in XML
- From: rxreyn3@xxxxxxxxx
- Re: lost in XML
- References:
- lost in XML
- From: gk
- Re: lost in XML
- From: probing@xxxxxxxxx
- lost in XML
- Prev by Date: Re: Giving an application a window icon in a sensible way
- Next by Date: Re: confusion of array clone() method
- Previous by thread: Re: lost in XML
- Next by thread: Re: lost in XML
- Index(es):
Relevant Pages
|