DEVFYI - Developer Resource - FYI

What is schema

J2EE Interview Questions and Answers (Part 2)


(Continued from previous question...)

267. What is schema

A database-inspired method for specifying constraints on XML documents using an XML-based language. Schemas address deficiencies in DTDs, such as the inability to put constraints on the kinds of data that can occur in a particular field. Because schemas are founded on XML, they are hierarchical. Thus it is easier to create an unambiguous specification, and it is possible to determine the scope over which a comment is meant to apply.

(Continued on next question...)

Other Interview Questions