Hi,
is it not too late to include the patch I just attached to YOKO-107
(adding support for nested struct)?
That patch fixes a nasty bug affecting the generation of schema types
for struct parameter in an IDL operation.
Let's say we have a IDL operation containing a struct parameter followed
by a struct definition:
struct Employee {
string name;
string dep;
};
void greet(in Employee emp2);
struct AnotherStruct {
short aShort;
long aLong;
};
then the xmlschemaelement corresponding to parameter Employee emp2 was
erroneously assigned the schemaType of AnotherStruct instead of the
schemaType of Employee, e.g:
<xs:element name="greet">
<xs:complexType>
<xs:sequence>
<xs:element name="emp2" type="AnotherStruct">
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
instead of:
<xs:element name="greet">
<xs:complexType>
<xs:sequence>
<xs:element name="emp2" type="Employee">
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
Cheers,
- Matteo
Mosur Ravi, Balaji wrote:
Hi,
I have uploaded the distribution in my home directory. If everyone is ok
with that we could propose this for our first milestone release...
Directory: /home/bravi
Thanks
Balaji