An XML document that adheres to syntax rules specified by XML 1.0…
2022
An XML document that adheres to syntax rules specified by XML 1.0 specification, in that it must satisfy both physical and logical structures, is called -
- A.
well-formed
- B.
reasonable
- C.
valid
- D.
sophisticated
Attempted by 154 students.
Show answer & explanation
Correct answer: A
An XML document that follows all XML 1.0 syntax rules , so that both its physical structure and logical structure are correct (proper nesting, required start and end tags, correct attribute format and structure), is called a well-formed XML document . A valid XML document is one that is well-formed and also follows the rules of a DTD or schema, but the question is only about following syntax rules, so the correct term here is well-formed .
A video solution is available for this question — log in and enroll to watch it.