[
https://issues.apache.org/jira/browse/YOKO-320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12486914
]
Matteo Vescovi commented on YOKO-320:
-------------------------------------
OMG IDL is preprocessed according to the specification of the preprocessor in
"International Organization for Standardization. 1998. ISO/IEC 14882 Standard
for the C++ Programming Language. Geneva: International Organization for
Standardization." The preprocessor may be implemented as a separate process or
built into the IDL compiler.
The main task here is writing a preprocessor. Is there an open-source Java
implementation that we can reuse?
Once the IDL file has been preprocessed, the IDLToWSDLProcessor class will feed
it as a stream to ANTLR and everything will work transparently:
// line 76
IDLParser parser = new IDLParser(new IDLLexer(stream));
parser.specification();
AST idlTree = parser.getAST();
The main point here is that the stream passed to IDLLexer is connected to
preprocessed file, instead of the original unpreprocessed IDL file.
> IDLToWSDL tool cannot handle includes
> -------------------------------------
>
> Key: YOKO-320
> URL: https://issues.apache.org/jira/browse/YOKO-320
> Project: Yoko - CORBA Server
> Issue Type: Bug
> Components: Idl2Wsdl
> Affects Versions: v1.0.0
> Reporter: Balaji Ravi
> Fix For: v1.0.0
>
>
> The IDLToWSDL tool cannot handle the include of another idl.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.