skip to content »

www.risomusoreh.ru

Validating xml with sax parser

RELAX NG Tutorial (errata), OASIS Committee Specification, 3 December 2001. More recent, but not officially approved Working Draft, 26 March 2003 also available RELAX NG Compact Syntax Tutorial, OASIS Working Draft, 26 March 2003. Tutorial for RELAX NG using the compact syntax, not assuming prior knowledge of XML syntax. Also supports other schema languages including W3C XML Schema.

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. project for extending RELAX NG has started in ISO/IEC JTC1/SC34/WG1. RELAX NG Version 2 is likely to become a new part of ISO/IEC 19757, while RELAX NG Version 1 continues to exist as Part 2 of ISO/IEC 19757. Reads a RELAX NG schema and produces a validator that can validate documents with the given schema. Generated validator can be in Java, C for Win32 (using MSXML4) or C#. The stylesheets can output either a plain text result, or a hyperlinked HTML document.

Contains XSLT stylesheets for converting RELAX NG schemas in the XML syntax to the compact syntax. rnc2rng, converter from RELAX NG Compact Syntax to RELAX NG XML Syntax.

It is Part 2 of ISO/IEC 19757 DSDL (Document Schema Definition Languages), which is maintained by ISO/IEC JTC1/SC34/WG1.

RELAX NG was based on TREX designed by James Clark and RELAX Core designed by MURATA Makoto.

Guidelines for using W3C XML Schema Datatypes with RELAX NG, OASIS Committee Specification, 7 September 2001.

RELAX NG Workshop sample client application also available.

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.