| Hi Philippe,
>> I'm encoding a response to SHOW with somewhere in the list an
>> attribute which is defined in MSL as SEQUENCE OF RECORD
>> I open my attribList with mcc_ilv_put_cons_begin in list mode (right so
>> far ?)
Yes this is right.
>> I then open another construction for the sequence,
>> and then open / close as many constructions as there are records.
>> When I encode a single record, I open it in native mode (still right ?)
Yes it is still right.
>> My question is : what about the sequence construction ? Should that be
>> opened in native or list mode ?
This should be opened in native mode.
Good luck
/-/ Henk van Steeg
|
|
>
> This is a "just_making_sure_I_got_it_right" question :
>
You've got it right, -.1 has it right. I have a little bit of
information to add.
> I'm encoding a response to SHOW with somewhere in the list an
> attribute which is defined in MSL as SEQUENCE OF RECORD
>
> I open my attribList with mcc_ilv_put_cons_begin in list mode (right so
> far ?)
Right. To make a construction of data type attrib_list, the construction
is opened in "List mode". Constructions of ALL other data types are opened
in "Native mode".
>
> I then open another construction for the sequence,
>
Note:
This construction is not an attrib_list, so it is opened in "Native mode".
> and then open / close as many constructions as there are records.
>
Right, all in "Native mode", unless they are of data type attrib_list.
> When I encode a single record, I open it in native mode (still right ?)
>
Right. The mode used when the construction is opened must match the mode used
when it was made.
> My question is : what about the sequence construction ? Should that be
> opened in native or list mode ?
It was made with Native mode, open it in Native Mode.
Regards,
Ruth Kohls
|