idl2xsd - IDL compiler to W3C XML Schema


idl2xsd [options] spec.idl


All options are forwarded to C preprocessor, except -b -h -i -q -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 import.


Display help.

-i directory

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


Generate qualified elements.


Generate a standalone Schema (not only type definition).


Generate tabulated XML (beautify for human).


Display version.


Enable export (only for IDL version 3.0).


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

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

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

idl2xsd needs XML::DOM module.

idl2xsd 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, idl2rng


(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,