skip to content »

Validating xml against dtd

Maneki Neko, Xerces parser configuration that supports RELAX NG validation.

web-based converter from W3C XML Schema to RELAX NG. The simple syntax is a minimal subset of the XML syntax defined by the RELAX NG specification, into which any RELAX NG schema can be transformed.

rng2srng, a tool to convert RELAX NG (XML or compact syntax) into the simple syntax.

Provides many other features useful for processing data described by a RELAX NG schema.

It is based on an XSLT stylesheet written by Eric van der Vlist. Can generate a collection of Java classes from a RELAX NG schema along with code to create instances of those classes from XML and vice-versa. By embedding code fragments in the grammar like yacc or Java CC, you can take appropriate actions while parsing valid XML documents against the grammar. Allows any RELAX NG schema to be used to guide editing.

A schema written in any of the supported schema languages can be converted into any of the other supported schema languages, except that W3C XML Schema is supported for output only, not for input. It does aims only to produce a RELAX NG schema that is equivalent to the input schema in the sense that it validates the same documents as the input schema; it does not aim to preserve information that is not significant for validation such as the use of definitions.

validating xml against dtd-68

The RELAX NG specifications have been developed within OASIS by the RELAX NG Technical Committeee. RELAX NG is also an International Standard (ISO/IEC 19757-2).

Defines annotations and datatypes that support some of the features from XML 1.0 DTDs not supported directly by RELAX NG. XML Matters: Kicking back with RELAX NG, Part 1, Part 2, Part 3, David Mertz, IBM developer Works. ISO/IEC 19757-08 Document Schema Definition Language (DSDL) -- Part 2: Regular-grammar-based validation -- RELAX NG. Article introducing RELAX NG using the compact syntax. Provides some information on how to implement a RELAX NG validator. The second edition is created by consolidating the first edition and Amd06 and then fixing some bugs. XML and the IETF: Making the case for RELAX NG, Michael Smith, xmlhack. The rng-users mailing list is for anything related to the use of RELAX NG. Includes XSLT stylesheets to convert XML output format into RELAX NG. Uses the Xerces Native Interface (XNI) to convert DTD into an XML document, which can then be converted into other formats. Proof of concept implementation of the idea of embedding XML processing pipelines in a grammar.