Solved Paper-II On Topic : Solved Paper-II July-2018

Que : 1 . The definitions in an XML document are said to be __________ when the tagging system and definitions in the DTD are all in compliance.

1. well-formed
2. reasonable
3. valid
4. logical
Please Select Ans Options .
Explanation

Option 3 is Correct Answer
Validation is a process by which an XML document is validated. An XML document is said to be valid if its contents match with the elements, attributes and associated document type declaration(DTD), and if the document complies with the constraints expressed in it. Validation is dealt in two ways by the XML parser.
They are :
1. Well-formed XML document
2. Valid XML document