OOPS
December 10, 2023
Question 1257 – Nielit STA [02-12-2018]
December 10, 2023
OOPS
December 10, 2023
Question 1257 – Nielit STA [02-12-2018]
December 10, 2023

Question 1246 – Nielit STA [02-12-2018]

The situation when we can’t use a SAX parser is:

Correct Answer: D

Question 24 Explanation: 
We should use a SAX parser when:
→ You can process the XML document in a linear fashion from top to down.
→ The document is not deeply nested.
→ You are processing a very large XML document whose DOM tree would consume too much memory. Typical DOM implementations use ten bytes of memory to represent one byte of XML.
→ The problem to be solved involves only a part of the XML document.
→ Data is available as soon as it is seen by the parser, so SAX works well for an XML document that arrives over a stream.
A
We can process the XML document in a linear fashion from the top to down
B
We are processing a very large XML document whose DOM tree would consume too much memory
C
The problem to be solved involves only part of the XML document
D
When we are parsing HTML documents to read and store the contents written in fields.
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!