Identify the incorrect statement about XML parser :

2017

Identify the incorrect statement about XML parser :

  1. A.

    A parser is a software program that checks the syntax used in an XML file.

  2. B.

    A validating passer ensures that the XML document is well formed but not valid.

  3. C.

    Validating passer checks syntax as well as compares the structure of the XML document.

  4. D.

    Non-validating parser only checks for structure problems with the XML code.

Attempted by 139 students.

Show answer & explanation

Correct answer: B

Explanation of the correct choice: The incorrect statement in the question is the claim that a validating parser ensures the XML document is well-formed but not valid. That claim is wrong because a validating parser checks both well-formedness and validity. Parser: Reads XML and checks syntax and well-formedness; it can be validating or non-validating.

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Uppsc Polytechnic Lecturer 2025 Cs