File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Revised DOM/SAX mock exam

 
John Wetherbie
Rancher
Posts: 1449
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.).
Thanks!
 
Joel Amoussou
Greenhorn
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
http://www.xmlmentor.net/xmlexamsim.htm
 
John Wetherbie
Rancher
Posts: 1449
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, Joel. I'm working on this.
Keep the comments coming!
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic