Machine-translated by Google. Questions are authored in English.
Top

Discussion

If an XML document does not have a DTD, then by definition it is:

  • A.not-type-valid.
  • B.type-valid.
  • C.an HTML document.
  • D.None of the above is correct.

Answer: A

Correct answer: not-type-valid.

Type validity is conformance to a DTD or schema, so a document with neither cannot be type-valid; the definition makes it not-type-valid regardless of how sensible its content is. It may still be well-formed, which is a weaker and purely syntactic requirement that every XML document must meet.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.