Francois Perrad
and 1 contributors

NAME

idl2rng - IDL compiler to RELAX NG Schema

SYNOPSIS

idl2rng [options] spec.idl

OPTIONS

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
-I-
-nostdinc

Specific options :

-b base uri

Specify a base uri for location of include.

-h

Display help.

-i directory

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

-q

Generate qualified elements.

-r root-element

Specify a root element.

-s

Generate a standalone Schema (not only type definition).

-t

Generate tabulated XML (beautify for human).

-v

Display version.

-x

Enable export (only for IDL version 3.0).

DESCRIPTION

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 conformant 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 <http://www.omg.org/>.

SEE ALSO

cpp, perl, idl2html, idl2javaxml, idl2xsd

COPYRIGHT

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

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

AUTHOR

Francois PERRAD, francois.perrad@gadz.org