S90-02A · Question #86
XML schemas are comparable to database records. Therefore, XML documents that are based on XML schemas are comparable to database data models. Select the correct answer.
The correct answer is B. False. B is correct because the premise of the statement is wrong, which invalidates the conclusion entirely. XML schemas define the structure and rules for valid XML documents - making them analogous to database schemas (data models), not to database records. Database records are…
Question
XML schemas are comparable to database records. Therefore, XML documents that are based on XML schemas are comparable to database data models. Select the correct answer.
Options
- ATrue
- BFalse
How the community answered
(25 responses)- A12% (3)
- B88% (22)
Explanation
B is correct because the premise of the statement is wrong, which invalidates the conclusion entirely. XML schemas define the structure and rules for valid XML documents - making them analogous to database schemas (data models), not to database records. Database records are actual stored data instances, which is the role XML documents play (they contain the real data that conforms to the schema). The statement has the analogy completely reversed: XML Schema → Database Schema/Data Model, and XML Document → Database Records.
Memory tip: Think "schema describes structure, document holds data" - just like a database schema describes table structure while records hold the actual rows. XML works the same way.
Topics
Community Discussion
No community discussion yet for this question.