FACTOID # 128: Peru’s national bird is the Andean cock of the rock (Rupicola peruviana).
 
 Home   Encyclopedia   Statistics   Countries A-Z   Flags   Maps   Education   Forum   FAQ   About 
 
WHAT'S NEW
RECENT ARTICLES
More Recent Articles »
 

SEARCH ALL

FACTS & STATISTICS    Advanced view

Search encyclopedia, statistics and forums:

 

 

(* = Graphable)

 

 


Encyclopedia > XML Schema

An XML schema is a description of a type of XML document, typically expressed in terms of constraints on the structure and content of documents of that type, above and beyond the basic syntax constraints imposed by XML itself. An XML schema provides a view of the document type at a relatively high level of abstraction. The Extensible Markup Language (XML) is a general-purpose markup language. ...


There are languages developed specifically to express XML schemas. The Document Type Definition (DTD) language, which is native to the XML specification, is a schema language that is of relatively limited capability, but that also has other uses in XML aside from the expression of schemas. Two other very popular, more expressive XML schema languages are XML Schema (W3C) and RELAX NG. Document Type Definition (DTD), defined slightly differently within the XML and SGML specifications, is one of several SGML and XML schema languages, and is also the term used to describe a document or portion thereof that is authored in the DTD language. ... XML Schema, published as a W3C Recommendation in May 2001, is one of several XML schema languages. ... In computing, RELAX NG (REgular LAnguage for XML Next Generation) is a schema language for XML, based on Murata Makotos RELAX and James Clarks TREX. A RELAX NG schema specifies a pattern for the structure and content of an XML document. ...


The mechanism for associating an XML document with a schema varies according to the schema language. The association may be achieved via markup within the XML document itself, or via some external means.

Contents

Validation

The process of checking to see if an XML document conforms to a schema is called validation, which is separate from XML's core concept of syntactic well-formedness. All XML documents must be well-formed, but it is not required that a document be valid unless the XML parser is "validating", in which case the document is also checked for conformance with its associated schema. DTD-validating parsers are most common, but some support W3C XML Schema or RELAX NG as well. The XML Validation (eXtensible Markup Language) checks a document in XML language if it is well formed and it is adjusted to a defined structure. ...


Documents are only considered valid if they satisfy the requirements of the schema with which they have been associated. These requirements typically include such constraints as:

  • Elements and attributes that must/may be included, and their permitted structure;
  • The structure is specified by a regular expression syntax ;
  • How character data is to be interpreted, e.g. as a number, a date, a URL, a Boolean, etc.

XML Schema validations can be effectively performed using specialized parsers, like JAXB or SAX. In computing, a regular expression is a string that is used to describe or match a set of strings, according to certain syntax rules. ... A number is an abstract idea used in counting and measuring. ... A date in a calendar is a reference to a particular day represented within a calendar system. ... A Uniform Resource Locator, URL (spelled out as an acronym, not pronounced as earl), or Web address, is a standardized address name layout for resources (such as documents or images) on the Internet (or elsewhere). ... In computer science, the Boolean datatype, sometimes called the logical datatype, is a primitive datatype having two values: one and zero (which are equivalent to true and false). ... Java Architecture for XML Binding (JAXB) allows Java developers to edit and create XML using familiar Java objects. ... Look up sax in Wiktionary, the free dictionary. ...


XML schema languages

Document Definition Markup Language (DDML) is an XML schema language proposed in 1999 by various contributors from the xml-dev electronic mailing list. ... Document Schema Definition Languages (DSDL) is a framework within which multiple validation tasks of different types can be applied to an XML document in order to achieve more complete validation results than just the application of a single technology. ... Document Structure Description, or DSD, is an XML schema language, for describing valid XML documents. ... Document Type Definition (DTD), defined slightly differently within the XML and SGML specifications, is one of several SGML and XML schema languages, and is also the term used to describe a document or portion thereof that is authored in the DTD language. ... Namespace Routing Language (NRL). ... In computing, RELAX NG (REgular LAnguage for XML Next Generation) is a schema language for XML, based on Murata Makotos RELAX and James Clarks TREX. A RELAX NG schema specifies a pattern for the structure and content of an XML document. ... There is also an album by Blur called Leisure. ... The word Trex has the following meanings: Trex a composite material. ... The Standard Generalized Markup Language (SGML) is a metalanguage in which one can define markup languages for documents. ... Schema for Object-Oriented XML, or SOX, is an XML schema language developed by Commerce One. ... The Schematron is an XML structure validation language for making assertion about the presence or absence of patterns in trees. ... XML Schema, published as a W3C Recommendation in May 2001, is one of several XML schema languages. ...

See also

A binary tree, a simple type of branching linked data structure. ... This article does not cite any references or sources. ... This is a list of XML schemas in use on the Internet sorted by purpose. ... XML Information Set (Infoset) is a W3C recommendation. ... An XML schema is a description of a type of XML document, typically expressed in terms of constraints on the structure and content of documents of that type, above and beyond the basic syntax constraints imposed by XML itself. ...

External links


  Results from FactBites:
 
XML - Wikipedia, the free encyclopedia (4832 words)
An XML schema is a description of a type of XML document, typically expressed in terms of constraints on the structure and content of documents of that type, above and beyond the basic constraints imposed by XML itself.
XML's regular structure and strict parsing rules allow software designers to leave parsing to standard tools, and since XML provides a general, data model-oriented framework for the development of application-specific languages, software designers need only concentrate on the development of rules for their data, at relatively high levels of abstraction.
XML 1.0 and XML 1.1 differ in the requirements of characters used for element and attribute names: XML 1.0 only allows characters which are defined in Unicode 2.0, which includes most world scripts, but excludes those which were added in later Unicode versions.
XML Schema - Wikipedia, the free encyclopedia (612 words)
XML Schema, published as a W3C Recommendation in May 2001, is one of several XML schema languages.
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.
After XML Schema-based validation, it is possible to express an XML document's structure and content in terms of the data model that was implicit during validation.
  More results at FactBites »


 

COMMENTARY     


Share your thoughts, questions and commentary here
Your name
Your comments
Please enter the 5-letter protection code

Want to know more?
Search encyclopedia, statistics and forums:

 


Lesson Plans | Student Area | Student FAQ | Reviews | Press Releases |  Feeds | Contact
The Wikipedia article included on this page is licensed under the GFDL.
Images may be subject to relevant owners' copyright.
All other elements are (c) copyright NationMaster.com 2003-5. All Rights Reserved.
Usage implies agreement with terms.