incubator-yoko-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matteo Vescovi (JIRA)" <j...@apache.org>
Subject [jira] Commented: (YOKO-339) idltowsdl unable to parse interface type when used as a struct type_spec
Date Wed, 11 Apr 2007 16:38:32 GMT

    [ https://issues.apache.org/jira/browse/YOKO-339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12488113
] 

Matteo Vescovi commented on YOKO-339:
-------------------------------------

According to the CORBA spec:
"The <identifier> that names an interface defines a legal type name. Such a type name
may be used anywhere an <identifier> is legal in the grammar, subject to semantic constraints
as described in the following sections."

Since the ScopedNameVisitor is used to visit the following IDL grammar:
<scoped_name> ::= <identifier> | "::" <identifier> | <scoped_name>
"::" <identifier>

it seems that ObjectReferenceVisitor should be invoked by ScopedNameVisitor.

This would account for all possible uses of interface types, such as operation parameters,
struct members, union case element specs, etc.


> idltowsdl unable to parse interface type when used as a struct type_spec
> ------------------------------------------------------------------------
>
>                 Key: YOKO-339
>                 URL: https://issues.apache.org/jira/browse/YOKO-339
>             Project: Yoko - CORBA Server
>          Issue Type: Bug
>          Components: Idl2Wsdl
>    Affects Versions: v1.0.0
>            Reporter: Matteo Vescovi
>            Priority: Critical
>             Fix For: v1.0.0
>
>
> The following IDL file reproduces the problem:
> // IDL
> module foo {
>    interface bar {
>         void hello();
>    };
>    struct myStruct {
>         bar barRef;
>    };
> };

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message