This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

about JAXP API

 
Himai Minh
Ranch Hand
Posts: 1361
7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In EPractice Lab, a question "Which of the following are included in the JAXP API?"
A. SAX
B. StAX
C. TrAX
D. XSLT
E. JDOM

I believe the answer should be A,B,C,D. In Ivan's notes, there is a quote:

JAXP consists of the following APIs:
- SAX
- DOM
-StAX
- XSLT API, originally developed under the name TrAX.


However, the given answer is A and D.
 
Paul Clapham
Sheriff
Posts: 21572
33
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The tutorial here: http://docs.oracle.com/javase/tutorial/jaxp/xslt/index.html includes the following statement: "JAXP includes an interpreting implementation of XSLT." However, that doesn't necessarily refer to the JAXP API, only to its reference implementation.

As for StAX, when the JAXP API was first designed, StAX didn't exist yet. But JAXP is now up to version 1.5 and the JAXP tutorial includes a section about StAX. So the question you referred to appears to be time-dependent (unless there's more information we don't know about).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic