idl2rng - IDL compiler to RELAX NG Schema


idl2rng [options] spec.idl


All options are forwarded to C preprocessor, except -b -h -i -q -r -s -t -v -x.

With the GNU C Compatible Compiler Processor, useful options are :

-D name
-D name=definition
-I directory

Specific options :

-b base uri

Specify a base uri for location of include.


Display help.

-i directory

Specify a path for import (only for IDL version 3.0).


Generate qualified elements.

-r root-element

Specify a root element.


Generate a standalone Schema (not only type definition).


Generate tabulated XML (beautify for human).


Display version.


Enable export (only for IDL version 3.0).


idl2rng parses the given input file (IDL) and generates :

  • a RELAX NG Schema spec.rng equivalent to W3C Schema following the CORBA to WSDL/SOAP Interworking Specification (WS-I comformant soap binding).

idl2rng is a Perl OO application what uses the visitor design pattern. The parser is generated by Parse::Yapp.

idl2rng needs XML::DOM module.

idl2rng needs a cpp executable.

CORBA Specifications, including IDL (Interface Definition Language) and CORBA to WSDL/SOAP Interworking Specification are available on <>.


cpp, perl, idl2html, idl2javaxml, idl2xsd


(c) 2003-2005 Francois PERRAD, France. All rights reserved.

This program and all CORBA::XMLSchemas modules are distributed under the terms of the Artistic Licence.


Francois PERRAD,