W3C Ubiquitous Web Domain

XML Schema

The XML Schema Working Group is closed, having completed its work successfully. The specifications are now maintained by the W3C XML Core Working Group.

Tools · Usage · Resources · Specifications and Development

XML Schemas express shared vocabularies and allow machines to carry out rules made by people. They provide a means for defining the structure, content and semantics of XML documents. in more detail. XML Schema 1.0 was approved as a W3C Recommendation on 2 May 2001 and a second edition incorporating many errata was published on 28 October 2004; see reference list for pointers.

The XML Schema Working Group, part of the XML Activity, is responsible for the W3C's work on this topic -- for details see the Working Group's charter. W3C Members can also participate in the W3C XML Schema Interest Group, a forum for the discussion of technical issues relating to the development of XML Schema.

See also: Robin Cover's index of XML Schema materials.

XML Schema 1.1

XML Schema 1.1 (in two parts) is a W3C Recommendation. It is intended to be mostly compatible with XML Schema 1.0 and to have approximately the same scope, but also to fix bugs and make whatever improvements we can, consistent with the constraints on scope and compatibility.

XML Schema 1.1 Part 2: Datatypes and XML Schema 1.1 Part 1: Structures are available.

There is also a Test Collection aimed at determining which parts of XSD 1.1 have been implemented; several implementations are under development.

If you find errors in Schema 1.1, please let us know. The best way to do that is to add an entry to the W3C's public installation of Bugzilla, which the WG uses to track issues and enhancement requests, specifying "XML Schema" as the 'product' name. Full instructions can be found at http://www.w3.org/XML/2006/01/public-bugzilla. If access to Bugzilla is not feasible, please send your comments to the W3C XML Schema Working Group's public comments mailing list, www-xml-schema-commentsAw3.org (archive). Please note that both the Bugzilla installation and the comments list are not only public-write but also public-read; don't say things you don't want seen in public. Each Bugzilla entry and email message should contain only one comment.

The Bugzilla system should also be used to report errors with XML Schema 1.0.



Please send any related announcements to xmlschema-dev.

[This list is not actively maintained because the Working Group no loner exists.]

Tools are listed alphabetically: BRICS Schematools, CodeSynthesis XSD, CodeSynthesis XSD/e, DocFlex/XSD, EDIFIX, EditiX, Intel XML Software, JAXB Reference Implementation, JaxFront, JaxMe, JBind, KLEEN, LINQ to XSD, Liquid XML, LMX, MSXML, NetBeans Schema support, oNVDL, oXygen, PyXB, Saxon, SchemaAgent, Schema-Forms, Schematron Validator, Schema Viewer, SQC, Stylus Studio, Visual Schema XBinder, XBuilder, xchecker, Xerces-C(++), Xerces-J, XML Architect, XML Beans, XML Datatypes Library, XMLEspresso, XMLFox, XML Infoset Browser, XML Nanny, XMLObjective, XmlPad, XML Schema Object Model, XML Schema Validator, XML Spy, XML ValidatorBuddy, XML::Validator::Schema, xnsdoc, XS3P, xsd2cpp, XSDBench, XSD Inference Tool, XSD/e, xsddoc, XSDDoc, xsdregex, XSD-to-C++, XSDValid, XSU, XSV

Altova XML (XML Spy)

Version 2008 of the Altova XML product line is available 2007-09-17

Just a quick note to announce general availability of Version 2008 of the Altova XML product line. A few new features are:

  • Support for working with Open XML data in Microsoft(r) Word, Excel, and now PowerPoint 2007 files in XMLSpy
  • Database content editing in XMLSpy and DatabaseSpy
  • XInclude and XPointer support in XMLSpy
  • Multi-file XPath evaluation in XMLSpy
  • New aggregate and ValueMap data processing functions for data mapping in MapForce
  • Modular StyleVision design files for re-using stylesheet constructs
  • Support for visualizing & managing XSLT and WSDL file relationships in SchemaAgent

More info and screenshots: http://www.altova.com/whatsnew.html. Download an upgrade or free trial: http://www.altova.com/download.html

BRICS Schematools

dk.brics.schematools - XML Schema, RELAX NG, DTD, XML graphs Anders Møller 2006-09-13

dk.brics.schematools is a Java package for manipulation and validation of XML graphs (also known as Summary Graphs) and schemas written in Restricted RELAX NG, DTD, or XML Schema, and for XPath evaluation on XML graphs. The first public release is now available from http://www.brics.dk/schematools/

Codalogic LMX

Codalogic LMX - XSD to C++ data binding compiler Pete Cordell 2007-09-22

LMX is an XML to C++ data binding code generation tool offering comprehensive XSD schema (and DTD) feature coverage. Focussing specifically on the nuances of C++, it comes with its own lightweight parser, for which compact and easy to build source code is available. Thus, in addition to being easy to use and deploy on Windows and Linux platforms, it is a great solution for cross-platform development.

For more information, visit http://www.codalogic.com/lmx/ (or the convenience URL http://www.xml2cpp.com).

CodeSynthesis XSD - XML Schema to C++ compiler

CodeSynthesis XSD 3.0.0 - Open-source XML Schema to C++ compiler Boris Kolpackov 2007-08-01

CodeSynthesis XSD is an open-source, cross-platform W3C XML Schema to C++ data binding compiler. Provided with a schema, it generates C++ classes that represent the given vocabulary as well as parsing and serialization code. You can then access the data stored in XML using types and functions that semantically correspond to your application domain rather than dealing with elements, attributes, and text in a direct representation of XML such as DOM or SAX.

XSD supports both in-memory and stream-oriented processing models by implementing two C++ mappings: C++/Tree and C++/Parser. The C++/Tree mapping represents the information stored in XML instance documents as a tree-like, in-memory object model. The C++/Parser mapping generates parser skeletons for data types defined in XML Schema. Using these parser skeletons you can build your own in-memory representations or perform immediate processing of XML documents.

XSD is available on AIX, GNU/Linux, HP-UX, Mac OS X, Solaris, and Windows. Supported C++ compilers include: GNU g++, HP aCC, Intel C++, Sun C++, IBM XL C++, and MS Visual C++. More information as well as precompiled binaries for all supported platforms are available from http://www.codesynthesis.com/products/xsd/

CodeSynthesis XSD/e - validating XML processing for embedded systems

CodeSynthesis XSD/e 2.0.0 released Boris Kolpackov 2007-11-13

CodeSynthesis XSD/e is an open-source XML parser/serializer generator for mobile and embedded systems. It provides event-driven, stream-oriented XML parsing, XML serialization, XML Schema validation, and C++ data binding while maintaining a small footprint and portability.

Compared to general-purpose validating XML processors, the XSD/e-generated code is 2-10 times faster while maintaining the lowest static and dynamic memory footprints. For example, a validating parser executable can be as small as 120KB in size. XSD/e is also highly-portable and can be used without STL, RTTI, iostream, C++ exceptions, and C++ templates.

Supported embedded toolchains include GNU g++ 2.95.x-4.x.x, eMbedded Visual C++ 4.0, and Visual Studio 2005 with Smart Devices support. Precompiled binary distributions are available for GNU/Linux, Solaris, and Windows host development platforms.

More information, documentation, source code, and precompiled binaries are available from http://www.codesynthesis.com/products/xsde/


DocFlex/XSD - a new template-driven XML Schema documentation generator Leonid Ruby 2007-01-22

DocFlex/XSD is a new easy adjustable template-driven XML Schema documentation generator.

It is able to generate professional quality documentation for any W3C XML Schema(s) in the form of both multi-framed hypertext HTML and printable RTF output.

For lots more information and downloads, [see] http://www.filigris.com/products/docflex_xsd/


New CCTS/UBL Data Modeling and Schema Generation Software Sylvia Webb 2005-02-05

The scalable product line GEFEG EDIFIXR supports all processes involved in the preparation of electronic business applications: . . . deriving compatible XML schemata from existing traditional EDI guidelines. . .

The XML-UML EDIFIX is targeted for users who design professional business messages with data modeling technology and as the next step represent and further edit these data models in XML schemas. Available at http://www.gefeg.com/en/index.htm


EditiX 5.0 - XML Editor Released A. Brillant 2006-09-07

We are glad to announce the release 5.0 of your product EditiX : An XML Editor and XSLT Debugger. This release includes about 50 improvements in various application parts (Schema,DTD,FO,XSLT...). Prices starting at $22. Details: http://www.editix.com.

Intel XML Software

Intel's New XML Software Products Thorsten Moeller, 2007-10-17

Intel is delighted to announce the release of the Intel® XML Software Suite Beta. The Beta package provides high performance XSLT processing, XPath, XML Parsing, DOM/SAX support, and XML Schema Validation functionality for Java and C/C++ environments.

You can register yourself to participate in the Intel® XML Software Suite Beta program by visiting http://www.intel.com/cd/software/products/asmo-na/eng/366637.htm.

Additional Intel® XML Software products and information can be found at http://www.intel.com/software/xml.

JAXB Reference Implementation

JAXB 2.0 RI Early Access 3 Released Kohsuke Kawaguchi, 2006-01-23

We are pleased to announce the availability of the 2.0 Reference Implementation Early Access 3 release. This version corresponds to the JAXB Specification proposed final draft, which has already posted to the JAXB project some time ago.

The binary can be downloaded from the following location, as well as online release notes.


JAXFront is a java technology to render electronic forms on multiple UI channels (Java Swing, HTML, PDF) on the basis of an xml schema that acts as a business model. The dynamically generated GUIs & Forms allow the user a sophisticated way of editing XML data without being exposed to the underlying XML technology.

Find an online demo and a free trial to download here:www.jaxfront.com


JaxMe 0.5 Jochen Wiedmann 2005-08-10

The ws-jaxme team is proud to announce the availability of JaxMe 0.5. JaxMe aims to become an implementation of the JAXB 1.0 specification.

Apache JaxMe is a Java/XML binding framework and aims to become an implementation of the JAXB specification. http://java.sun.com/webservices/technologies/index.jsp#Core_Web_Services for details on JAXB.

Compared to the version 0.4, the following features have been added:
- Mixed content is supported
- xs:extension is now properly mapped to Java inheritance.

Compared to the beta release, several important bugs have been fixed.

JaxMe is available on http://ws.apache.org/jaxme/downloads.cgi


A Java-XML databinding framework that supports the complete XML schema with the exception of external parsed entities, Stefan Wachter, 2002-09-13.

Available at http://jbind.sourceforge.net/.

JBind consists of a schema compiler that generates Java sources corresponding to a supplied schema. In addition it contains a schema validating XML parser. (All of the W3C schema test collection tests were passed with the exception of some tests that seem to be incorrect).


Graphical authoring tool KLEEN Berthold Daum 2003-09-26

Asset Oriented Modeling (AOM) is an open conceptual modeling method combining Higher Order Entity Relationship Modeling with Hedge-Regular Grammars. The graphical tool KLEEN supports the creation and validation of asset oriented models. It can generate code in various formats such as XML Schema, Java, XMI, and SQL. KLEEN supports various refactoring methods for models and generated code, including the translations of non-deterministic structures into deterministic schemata. Available at http://www.aomodeling.org/.


LINQ to XSD Preview Alpha 0.1 released to the web Ralf Lämmel 2006-11-27

LINQ to XSD is the code name of an incubation project that aims to provide .NET developers with support for typed XML programming on top of LINQ to XML. While the LINQ to XML programmer operates on generic XML trees, the LINQ to XSD programmer operates on typed XML trees -- instances of .NET types that model the XML types of a specific XML schema (XSD). LINQ to XSD can be used whenever you have an XML schema available, or you are willing to infer a schema from the XML data at hand. LINQ to XSD is integrated into Visual Studio; so you just tag an XML schema as an 'LINQ to XSD schema', build your project, and the automatically derived object model is then part of your solution -- just as if XML schemas were .NET types. The derived object model enforces various validation constraints imposed by the underlying XML schema. See http://blogs.msdn.com/xmlteam/archive/2006/11/27/typed-xml-programmer-welcome-to-linq.aspx

Liquid XML 2008

Liquid XML Studio 2008 Released - A Freeware XML Development Environment 2007-10-23

Announcing the release of Liquid XML Studio 2008 a Freeware XML Development Environment.

Key features include

Download available from http://www.liquid-technologies.com/Product XmlStudio.aspx

NetBeans Schema support

Chris Webster 2006-06-25

The XML schema tools available in the NetBeans Enterprise Pack 5.5 Early Access release allow you to visualize and edit XML schemas. The XML schema tools focus on complex information display and real-world use issues (for example, scalable visualization and editing of massive XML schemas). In addition, the XML schema tools reduce the complexity of creating and editing XML schemas, thus allowing someone who is not a schema expert to create and modify XML schema and other XML documents. Using the XML schema tools, you can reference external schemas and run advanced queries in the Analysis view.

Using XML schema functionality, you can:

Netbeans Enterprise Pack Download: http://www.netbeans.org/products/


oNVDL version 20070517 adds an XSLT 2.0 implementation of NVDL dispatching George Cristian Bina 2007-05-17

A new version of oNVDL is available from http://www.oxygenxml.com/onvdl.html

oNVDL is an open source implementation of NVDL (Namespace-based Validation and Dispatching Language) in Java, based on Jing. oNVDL supports validation against XML Schema and also against Relax NG and Schematron.

The new version adds an XSLT 2.0 implementation of NVDL dispatching and fixes a couple of issues.


oXygen XML Editor 8.2 George Cristian Bina 2007-05-08

A new version of oXygen XML editor is available from our website http://www.oxygenxml.com. Version 8.2 introduces a concept of validation scenarios. These decouples the current file from the validation and allows you to specify a list of files to be validated instead, as well as the processors to be used. Thus it enables multiple validations in a single action and validating modules in the context they are used from.

The new version adds support for ISO Schematron and that mans also support for XML Schema with ISO Schematron embedded rules including content completion inside annotation/appinfo for ISO Schematron and validation of XML files against XML Schema with embedded ISO Schematron rules.

Other important additions in version 8.2 are an XQuery debugger against MarkLogic 3.2 native XML database, a large file viewer capable of opening files larger than a Gigabyte, multi-line search/replace support, a number of component updates and a lot of other additions.

To find the full list of new additions and more details please visit: http://www.oxygenxml.com/index.html


Microsoft XML Core Services 4.0 SP1 (formerly known as MSXML)

It is available free from the MSDN XML site (exact location).


Python XML Schema Bindings 1.0.0 Peter A. Bigot 2009-11-18

PyXB version 1.0.0 is now available from SourceForge at: http://sourceforge.net/projects/pyxb/

PyXB (Python XML Schema Bindings; "pixbee") is a pure Python package that generates Python source code for classes that correspond to data structures defined by XMLSchema. In concept it is similar to JAXB for Java and CodeSynthesis XSD for C++. The current release supports XML Schema 1.0.

Version 1.0.0 is feature-complete and suitable for production development where validation of incoming and generated documents is desired.


Saxonica's Saxon Enterprise Edition (Saxon-EE) includes a schema processor that fully implements XSD 1.1. The processor supports:

The processor can be executed from the command line, and APIs are available for Java, .NET, C/C++, and PHP.


Altova SchemaAgent 2007 Erin Cavanaugh 2006-11-17

Altova SchemaAgent 2007 represents a new paradigm for modeling and managing advanced schemas and their components in workgroups. It allows you to view and manage XML Schema relationships in a visual way, and construct complex schemas from distributed schema elements using drag-and-drop functionality. In addition to XML Schema files, you can also see XML Schemas used as sources or targets in Altova MapForce data mappings.

See http://www.altova.com/products/schemaagent/xml_schema_management.html for details.


Schema-Forms - XML based eForms program released KK Aw 2002-06-11

Multicentric Technology is pleased to announce the release of Schema-Forms, an XML Schema based eForms program.

Schema-Forms generate an eForm based on the XML-Schema and the constraints specified in the schema are applied during data entry. The output can be transformed to HTML with an XSLT document.

A shareware version of the program is available from http://www.multicentric.com.

Schematron Validator

Free Windows tool supports XML Schema with embedded Schematron, Eddie Robertson, Oct 25 2001

Although primarily a Schematron tool, it also "handles DTDs, W3C XML Schemas, and Schematron schemas embedded in W3C XML Schemas", available from Topologi.

Schema Viewer

SchemaViewer 1.0, Frank Kilkelly 2002-11-08

SchemaViewer 1.0 is a Java application that virtually eliminates tedious browsing of XML Schema documents by representing them as a easily navigatable hierarchical tree. The application is a Swing-based GUI. It is freely available to download at: http://oocities.com/frakilk/software.html


IBM XML Schema Quality Checker. Achille Fokoue 2003-07-26

XML Schema Quality Checker (SQC) is a program which takes as input documents containing XML Schemas written in the W3C XML schema language and diagnoses improper uses of the schema language. Where the appropriate action to correct the schema is not obvious, the diagnostic message may include a suggestion about how to make the fix.

Version 2.2 now available (http://www.alphaworks.ibm.com/tech/xmlsqc): "fixes from XML Schema 1.0 Specification Errata (as of June 1, 2003) implemented; use of Xerces 2.4; SQC can now run on JRE 1.4"

Stylus Studio

Stylus Studio 2008 now available Tony Lavinio 2008-12-12

Stylus Studio 2008 is now available for free trial download or online purchase. Here are some of highlights:

  • WSDL Editor with embedded XML Schema editor
  • XML Publisher for writing HTML+CSS or XSL:FO+PDF
  • Multiple XML Schema validation engines included
  • Editing support for gigabyte-sized files
  • Bundled with DataDirect XML Converters 3.1 including support for HL7 (new), EANCOM, EDIFACT, IATA, and X12
  • Bundled with DataDirect XQuery 3.1

You may download a free evaluation copy from http://www.stylusstudio.com/xml_download.html.

Overview of XML Schema support in Stylus studio: http://www.stylusstudio.com/xml_schema.html

Visual Schema

Visual XML Schemas Siva Dirisala 2008-01-06

Even though many of the XML Schemas are meant for functional users so that they can design new systems or map existing systems to be standards compliant, their complexity makes it difficult for these users to study them. Even many software developers have difficulty understanding the XML Schemas due to their complexity. Visual Schema addresses this problem by presenting the XML Schemas as familiar and easily navigable html forms, typically found in enterprise business applications, that help the users easily understand the structure of an XML document.

Serveral open standards such as OAGIS and publicly available web services such as Amazon Web Services are available as Visual XML Schemas at http://www.visualschema.com/

XBinder XSD to C/C++ schema compiler

XBinder XSD to C/C++ schema compiler Ed Day 13-Dec-2005

XBinder is an XML Schema to C/C++ Data Binding Tool. Given an XML schema or WSDL definition, it will produce C or C++ code that consists of type definitions and encode/decode functions. This provides a complete Application Programming Interface (API) for working with all of the message definitions contained within an XML schema specification.

XBinder supports all types included within XML schema including complex and simple content and substitution groups. Also supported is include and import to allow schemas to be modularized. Some large schemas that have been compiled cleanly include UBL, FIXML, FpML, and CSTA.

Further details including a free evaluation download can be found at http://www.obj-sys.com/products_xbinder.shtml


Announcement for the release of XBuilder Shagun Grover 2002-02-05

The much awaited product XBuilder 1.1 - the schema builder has been released. The Schema Builder is so designed that all the base information regarding the Schema entities is displayed in a hierarchical format. In addition, the corresponding XML code for the individual entity gets automatically generated without user intervention. The 30 use trial version of XBuilder [has disappeared as of 2007-01 -- any info to ht@w3.org, please].


xchecker - XPath 2.0 embedded in XML Schema Andrew Welch 2007-06-03

xchecker is a little utility I've written that (amongst other things) allows you to embed XPath 2.0 in XML Schema: http://xchecker.sf.net/

The xchecker processor implements the JAXP schema interfaces, using the underlying JAXP schema processor to do the validation. You can check anything you can you can write an XPath for.


Xerces-C++ 2.8.0 released Boris Kolpackov 2007-09-03

I am pleased to announce the availability of Apache Xerces-C++ 2.8.0. Xerces-C++ is an open-source validating XML parser written in a portable subset of C++. It provides DOM (level 1, 2, and certain parts of level 3), SAX, and SAX2 APIs and supports validation of XML documents against DTD and XML Schema.

This release is primarily focused on bug fixes, optimizations and build system improvements. For the complete list of changes in this version see the release information page: http://xerces.apache.org/xerces-c/releases.html

The source code archives and precompiled libraries are available from the download page: http://xerces.apache.org/xerces-c/download.cgi


Xerces 2 Java Parser released lmartin@ca.ibm.com 2001-12-20

This release now contains, among other features, full XML Schema support (with complete constraint checking). XML Schema support was redesigned and reimplemented in Xerces 2.

For more information, pls see the Apache web site: http://xerces.apache.org/xerces2-j/index.html

XML Architect

Sysonyx's xmlArchitect, Bryce Nielsen, 2002-04-26

xmlArchitect is an intuitive XML Schema editor, displaying a realtime treeview mockup of what the Instance XML Document should look like while editing the XML Schema. Also, direct edits can happen inside this XML Tree and the XML Schema will update itself to reflect the new XML structure.

Product Information is at [http://www.sysonyx.com/Products/xmlDraft/index.asp]; Downloadable at [http://www.sysonyx.com/Products/xmlDraft/downloads.asp]

XML Beans

Apache XMLBeans v2.1.0 available Radu Preotiuc-Pietro 2005-12-09

The Apache XMLBeans team is pleased to announce the availability of Apache XMLBeans v2.1.0. XMLBeans is a complete XML processing solution for Java, including XML Schema support, XML Schema to Java binding, lightweight fast Infoset access, XML Schema information access, DOM, SAX and StAX implementations, XPath/XQuery integration. Everything is available in a package that is easy to use and fully integrated, allowing the user to seamlessly switch between all APIs.

Binary downloads for Windows and Unix are available from http://xmlbeans.apache.org/sourceAndBinaries/

[For those familiar with XMLBeans V1, see http://xmlbeans.apache.org/news for a list of changes and additions in XMLBeans V2]

XML Datatypes Library

Sun's XML Datatypes Library Kohsuke KAWAGUCHI May 04 2001

XML Datatypes Library is a Java implementation of W3C XML Schema Part 2. It can be used from any Java code to

  • validate strings with datatypes
  • convert strings into Java objects


XMLEspresso 4.0 Announcement Ajay Votra 2003-07-08

XMLEspresso 4.0 is a full featured, J2SE 1.4.x based XML Editor available for evaluation (unlimited period) and purchase at: http://www.nubean.com/.

XMLEspresso 4.0 supports creation of W3C XML Schemas and XML documents based on W3C XML Schemas.


XMLFox Advanced XML/XSD editor Russ Sabitov 2005-03-14

XMLFox Advance is an intuitive xml and xml schema (XSD) editor, allows the xml developer to create schemas and show a visual representation of what the xml document will look like for that schema. XMLFox Advance supports Validation an XML against an XSD schema.

You can find more info about the tool at the following website: http://www.XMLFox.com/

XML Infoset Browser

XML Infoset Browser for Java, Ed Merks, 2002-09-18

We are very pleased to announce the availability of org.eclipse.xsd, the XML Schema Infoset Model for Java, at Eclipse:http://www.eclipse.org/xsd/.

org.eclipse.xsd is a Java reference library that implements the XML Schema Infoset Model as described in the W3C XML Schema specifications. We believe that it will be useful for any code that examines, creates, or modifies XML Schemas (standalone or as part of other artifacts, such as XForms or WSDL documents). The library provides an API for manipulating the components of an XML Schema, as well as an API for manipulating the DOM-accessible representation of XML Schema as a series of XML documents, and for keeping these representations in agreement as schemas are modified.

XML Nanny

XML Nanny, Todd Ditchendorf, 2005-12-16

I've developed a free (as in beer) Cocoa XML Schema-related developer tool for Mac OS X 10.4 Tiger called XML Nanny: http://xmlnanny.com.

XML Nanny is a graphical tool for checking XML documents for well- formedness or validity against a DTD or W3C XML Schema. XML Nanny can validate documents either locally or over the network.


new XMLSchema editor and binding tool Aidan Russell 2005-07-21

The tool provides a powerful XMLSchema editor, with binding classes generation in C++, Java and RDBs. Editing og XML and XSLT is also supported.

The product URL is www.xmlobjective.com A free version is also provided supporting basic XMLSchema editing and validation.


WmHelp XmlPad 3Semyon A. Chertkov 2006-09-22

I'm glad to announce availability a new freeware version of WmHelp XMLPad. It's now based on the Expat parsing engine and has full support for XML Schemas.

XML Schema editor with color syntax highlighting, line numbers, element range navigation, and context-dependent source assistant wizard. Available absolutely free (freeware) without any limitations. It does not contain any AdWare or SpyWare. http://www.wmhelp.com/download.htm

XML Schema Object Model

Xml Schema Object Model (in the System.Xml.Schema namespace), Microsoft 2002-06-03

System.Xml.Schema namespace contains the XML classes that provide standards-based support for XML Schemas definition language (XSD) schemas. This namespace is part of the .Net Framework SDK http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.asp?url=/msdn-files/027/000/976/msdncompositedoc.xml&frame=true and implements the XML Schema Part 1: Structures <http://www.w3.org/TR/xmlschema-1/> and the XML Schema Part 2: Datatypes <http://www.w3.org/TR/xmlschema-2/> specifications.

XML Schema Validator

Online W3C XML Schema Validator, Microsoft, 2002-10-11

An online HTML form-based interface for validating schemas (XSD & XDR) and instance documents using the System.Xml.XmlValidatingReader in the .NET framework [appears to have been withdrawn as of 2006-12]

XML ValidatorBuddy

XML ValidatorBuddy is commercial software for the Microsoft Windows platform for editing and validating large XML and JSON documents.


XML::Validator::Schema 1.03

This Perl module allows you to validate XML documents against a W3C XML Schema. This module does not implement the full W3C XML Schema recommendation, but a useful subset. See the SCHEMA SUPPORT section in the module documention.

You can install XML::Validator::Schema from CPAN, or download it from SourceForge: http://sourceforge.net/project/showfiles.php?group_id=89764


xnsdoc 1.2 - XML Schema documentation generator buldocs 2006-09-19

xnsdoc 1.2 is now available, a professional tool to generate documentation of W3C XML-Schema in a JavaDoc-like visualization.

xnsdoc supports all common schema design practices like chameleon, russian doll, salami slice, venetian blind schemas or circular schema references.

xnsdoc can be used from the command line, as an Apache Ant Task, as an Apache Maven Plugin, as an eclipse plugin or integrated as a custom tool in many XML development tools.

Release 1.2 fixes all known bugs and comes with improved integration into eclipse, Apache Maven and Apache Ant.

You can download a free trial version at http://www.buldocs.com/xnsdoc/download/


XS3p is a schema documentation generator developed by Zar Zar Tun at DSTC. Basically, it is an XSLT stylesheet that will generate an XHTML document from an XSD schema. Some of its cool features are:

  • It provides links that allow the user to jump to the documentation of schema components that are referenced.
  • It provides a view of schema components' constraints as a sample XML instance.
  • For global type definitions, it shows the super- and sub- types of the type definition.
  • For global element declarations, it shows the substitution groups that the element declaration heads or belongs to.
  • It can sort schema components by type and name.
  • It has a glossary section which explains some XML Schema terminology.

DSTC no longer exists, and the original homepage for this tool is gone. Both oXygen and Stylus Studio appear to use it, and search engines can locate copies of the stylesheet and, in some cases, the license without which it cannot legally be used.


XmlPlus xsd2cpp is an open-source tool which provides XML data binding for C++ through XML Schema. The xsd2cpp tool is a C++ code generator. The xsd2cpp tool when invoked on an input XML Schema, generates C++ classes(headers) mapped to the input XML Schema components. Alongside, wherever needed, it generates implementation files(.cpp) for the generated C++ classes. Also, a sample application(main.cpp) is generated to demonstrate how an application could consume the generated C++ source files.

XSDBench XML Schema Benchmark

XSDBench XML Schema Benchmark 1.0.0 released Boris Kolpackov 2006-10-18

XSDBench is an open-source W3C XML Schema benchmark that compares the performance of validating XML parsers. It measures validation throughput, statically-linked test executable size, and, where possible, peak heap and stack memory usage during parsing. The following parsers are supported in the latest release:

  • Apache Xerces-C++
  • CodeSynthesis XSD
  • Gnome Libxml2
  • Microsoft XML Core Services (MSXML)
  • Oracle XDK

More information on the benchmark architecture, results, as well as the benchmark source code are available from http://www.codesynthesis.com/projects/xsdbench

XSD Inference Tool

XSD from examples, Microsoft, 2002-12-14

We would like to announce the availabitlity of Microsoft XSD Inference Beta 1 tool. The Microsoft XSD Inference utility is used to create an XML Schema definition language (XSD) schema from an XML instance document. When provided with wellformed XML file, the utility generates an XSD that can be used to validate that XML file. You can also refine the XSD generated by providing the tool more well-formed XML files. You can get the binaries and documentation from http://www.gotdotnet.com/team/xmltools/


XSD/e 1.1.0 - validating XML parser generator for embedded systems Boris Kolpackov 2007-09-20

CodeSynthesis XSD/e is an open-source XML parser generator for mobile and embedded systems. It provides event-driven, stream-oriented XML parsing, XML Schema validation, and C++ data binding while maintaining small footprint and portability.

Compared to general-purpose validating XML parsers, the XSD/e-generated parsers are 2-10 times faster while maintaining the lowest static and dynamic memory footprints. For example, a validating parser executable can be as small as 120KB in size. XSD/e is also highly-portable and can be used without STL, RTTI, iostream, C++ exceptions, and C++ templates.

Supported embedded toolchains include GNU g++ 2.95.x-4.x.x, eMbedded Visual C++ 4.0, and Visual Studio 2005 with Smart Devices support. Precompiled binary distributions are available for GNU/Linux, Solaris, and Windows host development platforms.

More information, documentation, source code, and precompiled binaries are available from http://www.codesynthesis.com/products/xsde/


xframe - xsddoc 0.8-beta released, Kurt Riede, 2005-05-22.

xsddoc is an Open Source documentation tool for W3C XML Schema based on XSLT. With xsddoc you can generate documentation of your XML Schema in a JavaDoc like visualisation. xsddoc can be used from the command line, as an Apache Ant Task or as an Apache Maven Plugin or integrated as a custom tool in StylusStudio or XMLWriter\ .

You can download xsddoc http://xframe.sourceforge.net/xsddoc/index.html


XML Schema Documentation software, Thomas Chen, 2003-10-15

XSDdoc is an XML Schema documentation software that transforms plain XML files into cross-referenced, hyperlinked HTML documents and provides a detailed functional report for each schema component. XSDdoc makes it effortless to navigate through a large collection of XML vocabulary.

For a detailed product guide of XSDdoc 2.0, please visit our web site at http://www.bluetetra.com/.


XSD regex-> Java 1.4 regex, James Clark 2002-04-30

I've written some Java code that translates from the syntax of XSD regexes to the syntax of JDK 1.4 java.util.regex regexes. The source, binaries and documentation can be downloaded from: [http://www.thaiopensource.com/download/xsdregex-20020430.zip]

I am releasing it under a very liberal license (the BSD license), which makes it free even for commercial use.


xsd - a W3C XML Schema to C++ translator Boris Kolpackov 2005-10-08

xsd is a cross-platform, open source W3C XML Schema to C++ translator. It supports two C++ mappings: in-memory C++/Tree and event-driven C++/Parser.

The C++/Tree mapping consists of data types that represent the given vocabulary, a set of parsing functions that convert XML instance documents to a tree-like in-memory data structure, and a set of serialization functions that convert the in-memory representation back to XML.

The C++/Parser mapping provides parser templates for data types defined in XML Schema. Using these parser templates you can build your own in-memory representations or perform immediate processing of XML instance documents.

Details and download from http://codesynthesis.com/products/xsd/


New XML Schema Validation Engine Hussein Shafie 2002-01-09

The xsdvalid distribution contains the XML Schema validation engine that will be integrated into the future XMLmind XML Editor product ( http://www.xmlmind.com/xmleditor/ ).

This engine has been made available to schema and DTD authors in the form of 3 command-line tools:

  • xsdvalid: Checks an XML schema for validity. Checks an XML document for validity against an XML schema.
  • dtdvalid: Checks a DTD for validity. Checks an XML document for validity against a DTD.
  • dtdtoxsd: Converts a DTD to an XML schema.

The xsdvalid distribution can be downloaded from [http://www.xmlmind.com/xvalid.html] .


XSU, an Open Source upgrade transform from the 20001024 to the 20010330 version; free web-form access, from University of Edinburgh/W3C (beta);


XSV, an Open Source XML Schema Validator, with web-form access from University of Edinburgh/W3C (beta) (Status page)

Free download of self-installing version of XSV for WIN32.


Presentations, guides, and tutorial materials

In addition XML Schema Part 0: Primer, you may be interested in:


Schema for schemas

If you're looking for the schema and/or DTD for schema documents, they are here:

Test collection

The W3C XML Schema test collection can be downloaded from https://github.com/w3c/xsdtests

Note that there is no longer an XML Schema Working Group to monitor issues or pull requests.

As part of the process of getting XML Schema to Recommendation, a draft Type Library is available, with definitions of complex types attempting to cover many common needs, including general text content, arrays, complex numbers and dimensioned quantities.

Serialization of the PSVI

Richard Tobin and Henry S. Thompson have posted a first cut at an XML serialisation of the (PSV) Infoset.

Specifications and Development

Developments in the community

Testing project at SourceForge
a testing project at sourceforge started July 2000 by Curt Arnold
XML Schema User Experience Workshop, 21-22 June 2005

The W3C workshop on XML Schema user experiences gathered concrete reports of user experience with XML Schema 1.0, and examined the full range of usability, implementation, and interoperability problems around the specification and its test suite.

The Call for Participation and program have many of the details.

Minutes and a chairs' report are expected to be made public real soon now.


Input into the development of XML Schema:

Valid HTML 4.0! C. M. Sperberg-McQueen and Henry Thompson
Created April 2000
$Revision: 1.160 $ $Date: 2018/03/09 01:48:56 $

Copyright © 2000-2007 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C liability, trademark, document use and software licensing rules apply. Your interactions with this site are in accordance with our public and Member privacy statements.