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

Discussion

If a document does not conform to the DTD, it is a bad XML document.

  • A.True
  • B.
    False

Answer: B

Correct answer: False

A document that does not conform to its DTD is not-type-valid, which is a precise technical status rather than a judgement of quality. It may still be well-formed and perfectly usable for some purposes. The distinction matters because a processor can be asked to validate or merely to parse, and the two give different answers.

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

Post your comment

Please log in or register to post a comment.