Validating xml net
All you have to do is use a parser that has DTD validation enabled: option, which loads the DTD and weaves attribute default values into the document.
Again, no validation is performed unless explicitly requested.
It is a forward chaining reasoner which can be used for querying, checking, transforming and filtering information.
Its core language is RDF, extended to include rules, and it uses RDF/XML or Notation 3 (N3) serializations as required.
You may also view this list in XML, DAML and OWL formats or using Spectacle.
A wishlist of desired tools is also being maintained.
Tree patterns, defined as XPath expressions, are used to make assertions, and provide user-centred reports about XML documents.
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.
This paper provides an introduction to Schematron; an innovative XML validation language developed by Rick Jelliffe.
This innovation stems from selecting an alternative approach to validation than existing schema languages: Schematron uses a tree pattern based paradigm, rather than the regular grammars used in DTDs and XML schemas.
Apart from the built-in DTD support in parsers, lxml currently supports three schema languages: DTD, Relax NG and XML Schema.