On Nov 4, 2009, at 09:07 AM, Peter Soetens wrote:
> https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=680
>
>
> Peter Soetens <peter [..] ...> changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> CC| |
> peter [..] ...
>
>
>
>
> --- Comment #2 from Peter Soetens <peter [..] ...>
> 2009-11-04 15:07:31 ---
> (In reply to comment #0)
>> If you mix 'data' and 'port' items in the ReportData block, the
>> ports items are
>> all reported first followed by the data items. Bug? Feature?
>> Certainly
>> unexpected ...
>>
>>
>> ... >> <struct name="ReportData" type="PropertyBag"> >> <simple name="Port" type="string"><value>X.A</value></simple> >> <simple name="Data" type="string"><value>X.B</value></simple> >> <simple name="Port" type="string"><value>Y.F</value></simple> >> <simple name="Data" type="string"><value>Y.G</value></simple> >> - <simple name="Port" type="string"><value>Y.H</value></simple> >> </struct> >> ... >>
>>
>> is reported in the order: X.A, Y.F, Y.H, X.B, Y.G.
>
> Are you using TinyXML or Xerces for marshalling the XML ?
I don't remember which computer this specifically cropped up on, but I
seldom load Xerces so I would guess TinyXML.
Sorry
Stephen
[Bug 680] Mixed data and port items in reporting get reordered
On Wed, Nov 4, 2009 at 15:10, S Roderick <kiwi [dot] net [..] ...> wrote:
> On Nov 4, 2009, at 09:07 AM, Peter Soetens wrote:
>
> https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=680
>>
>>
>> Peter Soetens <peter [..] ...> changed:
>>
>> What |Removed |Added
>>
>> ----------------------------------------------------------------------------
>> CC| |peter [..] ...
>>
>>
>>
>>
>> --- Comment #2 from Peter Soetens <peter [..] ...> 2009-11-04
>> 15:07:31 ---
>> (In reply to comment #0)
>>
>>> If you mix 'data' and 'port' items in the ReportData block, the ports
>>> items are
>>> all reported first followed by the data items. Bug? Feature? Certainly
>>> unexpected ...
>>>
>>>
>>>
>>> is reported in the order: X.A, Y.F, Y.H, X.B, Y.G.
>>>
>>
>> Are you using TinyXML or Xerces for marshalling the XML ?
>>
>
> I don't remember which computer this specifically cropped up on, but I
> seldom load Xerces so I would guess TinyXML.
>
I have the suspicion that TinyXML is passing the properties in another
order than listed in the file... Need to write a unit test to check this.
Peter