Computer Science, asked by karthik010698, 1 year ago

Types of XML-parsers are -
(a) Well-formed
(b) Well-documented
(c) Non-validating and validating
(d) None of the above

Answers

Answered by RishiModi
3
C. non-validating and validating
Answered by sarahssynergy
0

The correct answer is option (c) Non-validating and validating.

Explanation:

  • Types of XML-parsers are Non-validating and validating.
  • Non validating parsers process a document faster because they do not have to check every element against a DTD.
  • In other words, these parsers check whether an XML document adheres to the rules of well formed document. The Expat parser is an example of non validating parser.
  • Validating parsers perform more rigorous checks, such as making sure the document conforms to the rules laid out by its document type definition (DTD). Validating parsers also can use information from the DTD to provide extra capabilities, such as entity substitution and attribute defaulting.
Similar questions