File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Product and Other Certifications and the fly likes Question from Javaranch mock exam Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Professional Certification » Product and Other Certifications
Reply Bookmark "Question from Javaranch mock exam" Watch "Question from Javaranch mock exam" New topic
Author

Question from Javaranch mock exam

Neetha Kasuganti
Greenhorn

Joined: Oct 15, 2001
Posts: 24
6. When Processing Instructions are a part of your parsing process, DOM should be used, since SAX cannot be used to detect a Processing Instruction in a document.
a)true
b)false
The author gave the answer as a. I think the answer is b, because there is a method processingInstruction() in ContentHandler interface to detect a Processing Instruction in a document.
Can anyone tell why it's a?


Neetha<br />IBM certified developer - XML and related technologies<br />SCJP2
 
 
subject: Question from Javaranch mock exam
 
Threads others viewed
Processing Instructions- Q 6 Javaranch Mock
Sample DOM/SAX Question #6
DOM/SAX Questions
Detecting PI in SAX and DOM
regarding PIs with SAX
IntelliJ Java IDE