File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Product and Other Certifications and the fly likes Revised DOM/SAX mock exam Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Product and Other Certifications
Bookmark "Revised DOM/SAX mock exam" Watch "Revised DOM/SAX mock exam" New topic

Revised DOM/SAX mock exam

John Wetherbie

Joined: Apr 05, 2000
Posts: 1449
Hey there!
The DOM/SAX mock exam has been revised a bit. If you have time please run through it and if you see any problems please let us know. Please indicate the question number, what the problem is, and the proposed solution (reword the question, change the answer, etc.).

The only reason for time is so that everything doesn't happen all at once.
- Buckaroo Banzai
Joel Amoussou

Joined: Mar 15, 2003
Posts: 15
First of all, thank you for putting the mock together.
In question No.7, the following statement is FALSE:
"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."
The fact is that the ContentHandler interface in SAX2, defines a processingInstruction() method to receive notification of a processing instruction. The method signature is:
public void processingInstruction(java.lang.String target, java.lang.String data)
throws SAXException
Joel Amoussou
IBM XML Certification Practice Test
John Wetherbie

Joined: Apr 05, 2000
Posts: 1449
Thanks, Joel. I'm working on this.
Keep the comments coming!
I agree. Here's the link:
subject: Revised DOM/SAX mock exam
It's not a secret anymore!