• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt in Mock Exam

 
Vidya Ravi
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can someone please explain why D is the right answer?
6. When you construct an XML using a DOM enabled Parser, the same parser should be used to process back the XML document when the process involves legacy applications, otherwise it is not necessary to do so. *
a) Not really
b) Yes, whenver the process is between legacy conectivity this is better.
c) You can use SAX enabled parser to fill this gap.
d) This statement is not a correct one, because DOM is constructed using IDL.

* Question 6 from DOM & SAX [Design / Implementation/ Information modeling]. Authors: Kris. VidhyaSagar and John Wetherbie
 
Hari Vignesh Padmanaban
Ranch Hand
Posts: 578
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Vidya Ravi:
Can someone please explain why D is the right answer?
6. When you construct an XML using a DOM enabled Parser, the same parser should be used to process back the XML document when the process involves legacy applications, otherwise it is not necessary to do so. *
d) This statement is not a correct one, because DOM is constructed using IDL.

* Question 6 from DOM & SAX [Design / Implementation/ Information modeling]. Authors: Kris. VidhyaSagar and John Wetherbie

IDL stands for Interface Definition Language . So it is not parser dependent . As long as the parser implemnts the interface, I think it would be able top perform all the functions.
So the statement is not correct , as it is possible to use a different parser that follows the corresponding interface for DOM
well, I think that this might be a valid explanation !!!
if anyone else is able to come up with a more appropriate answer. please do post it
hope this helps
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic