XML Schema, published as a W3C Recommendation in May 2001, is one of several XML schema languages. It was the first separate schema language for XML to achieve Recommendation status by the W3C.
Like all XML schema languages, XML Schema can be used to express a schema: a set of rules to which an XML document must conform in order to be considered 'valid' according to that schema. However, unlike most other schema languages, XML Schema was also designed with the intent of validation resulting in a collection of information adhering to specific datatypes, which can be useful in the development of XML document processing software, but which has also provoked criticism.
An XML Schema instance is an XML Schema Definition (XSD) and typically has the filename extension ".xsd". The language itself is sometimes informally referenced as XSD, even though WXS (for W3C XML Schema) is a more appropriate initialism.That is, XSD is appropriate for referring to a schema written in the XML Schema language, but is somewhat less appropriate for referring to the XML Schema language itself, since the W3C Working Group that developed the language deliberately avoided creating an initialism so that people would refer to the language simply as XML Schema. However, people in the technology industry have a fondness for three- and four-letter initialisms, and "DTD" was already in general use to refer to both a Document Type Definition and the "language" — actually an unnamed portion of the markup languages XML or SGML — in which a DTD is written. Of the two most common XML Schema initialisms, XSD and WXS, XSD is relatively ubiquitous. However, the W3C has not given its blessing to either one, and a number of leading XML professionals, in postings on electronic mailing lists such as xml-dev and in articles published in online trade journals like XML.com, advocate referring to the language as WXS or W3C XML Schema. As Simon St. Laurent explains in an xml-dev post from August 12, 2002, "WXS seems to make a lot of sense to people, especially once they've encountered alternatives to WXS. I'm starting to apply the same terminology to XQuery — W3C XML Query is just one option among many. It's not my problem that the W3C uses a naming scheme to effectively declare itself as the sole authority on these subjects." XSD is also an initialism for XML Schema Datatypes, the datatype portion of XML Schema.
This particular OOP approach to XML data access was primarily advocated by Microsoft, a major contributor to the development of XML Schema. Converting an XML document to a datatype-aware object can be beneficial in some parts of computer software design, but critics contend that it also undermines openness, a key feature of XML, and that it is biased toward compatibility with the datatypes native to Microsoft's favored programming languages.http://www.biglist.com/lists/xsl-list/archives/200302/msg00821.html
In addition, the limitations inherent to (and caused by) XML Schema datatypes, the restrictive coupling of those datatypes with the rest of XML Schema, and dependencies on those datatypes in other W3C specifications are points of contention among a number of XML software developers.http://www.oreillynet.com/pub/wlg/2511?wlg=yes
An example of an XML document that conforms to this schema is given below.
W3C standards | XML-based standards
XML-Schema | Schema | XML-skemo | XML Schema | XML Schema | XML Schema Definitietaal | XML Schema | XML Schema | XML-skjema | XML Schema | XML Schema | XML Schema
This article is licensed under the GNU Free Documentation License.
It uses material from the
"XML Schema".
Home Page • arts • business • computers • games • health • hospitals • home • kids & teens • news • physicians • recreation• reference • regional • science • shopping • society • sports • world