Re: lost in XML




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 ?

.



Relevant Pages

  • Re: lost in XML
    ... JDOM and JAXP are one of the implementation for each of them ... for XML Processing. ... is not it an just API? ... ....JAXP and JDOM. ...
    (comp.lang.java.programmer)
  • Re: lost in XML
    ... JDOM and JAXP are one of the implementation for each of them ... for XML Processing. ... is not it an just API? ... I have read DOM API ....its Tree structured. ...
    (comp.lang.java.programmer)
  • Re: lost in XML
    ... JDOM and JAXP are one of the implementation for each of them ... i have read SAX API ...its event driven ... I have read DOM API ....its Tree structured. ...
    (comp.lang.java.programmer)
  • Re: SuSE 10.1, java 1.4.2 und Zeichensatzprobleme
    ... Steffen Ramlow wrote: ... nur öffentliche JRE-APIs benutzt, sollte das unter 1.5 auch laufen. ... JAXP. ... Das Problem ist nicht die API sondern die default implementierung die ...
    (de.comp.lang.java)