Which of the given options best describes the truthfulness of the following…

2023

Which of the given options best describes the truthfulness of the following statements? i) XML schemas define datatypes for elements and attributes, while DTD doesn't support datatypes. ii) DTD are the declarations that define a document type for SGML. iii) In XML, tag names can begin with a numeric value.

  1. A.

    i-True, ii-True, iii-False

  2. B.

    i-False, ii-True, iii-False

  3. C.

    i-True, ii-False, iii-False

  4. D.

    i-False, ii-False, iii-False

Attempted by 101 students.

Show answer & explanation

Correct answer: A

Statement i is true because XML Schema supports rich datatypes unlike DTD which lacks them. Statement ii is true as DTDs were originally designed for SGML document types. Statement iii is false because XML tag names cannot start with numbers according to W3C specifications. Therefore, Option 0 is the correct choice based on standard XML and SGML definitions.

Explore the full course: Uppsc Polytechnic Lecturer 2025 Cs