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

Discussion

The definitions in an XML document are said to be __________ when the tagging system ans definitions in the DTD are all in compliance.

  • A.well-formed
  • B.reasonable
  • C.valid
  • D.logical

Answer: C

The document is said to be valid.

An XML document is valid when it conforms to its Document Type Definition (or schema): its elements and attributes are those the DTD declares, in the permitted structure.

A well-formed document merely follows XML's syntax rules (properly nested tags, a single root, quoted attributes) whether or not it matches a DTD. 'Reasonable' and 'logical' are not XML terms.

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

Post your comment

Please log in or register to post a comment.