Spring 2.0 uses XML Schema, so what is XML schema?
The XML Schema describes the structure of the XML document. An XML document can be validated with a specified XML schema to check whether the XML document meets its requirements. The suffix name of the XML Schema file is ". XSD "
Note the difference between schema and XML Schema: schema or XML Schema refers to the schema of the XML document (i.e., document structure, data type, etc.), and XML Schema is one of the schemas. In addition to the XML Schema, DTD, RELAX ng is a schema. If this is true, then the XML document is called a valid (valid), otherwise it is non-valid (invalid). The document designer, the person writing the XML schema, can specify the structure and content allowed by an XML document through an XML schema, and can then check whether an XML document is valid. Whether or not an XML document is valid is always for a schema. For the same XML document, it is possible to use a schema to verify that it is valid, and another schema to test it is non-valid. ]
The structure and syntax of an XML Schema document is complex, itself an XML document, and must be a valid XML document that conforms to the XML Schema specification.
XML Schema 中文版 tutorial:http://www.w3schools.com/schema/default.asp
The XML schema is actually the same as the DTD, but more powerful than a DTD. XML schema vs. DTD comparison: http://www.ibm.com/developerworks/cn/xml/x-matters/part7/index.html