[Bug 809] New: Property: ERROR when reading in long value

http://bugs.orocos.org/show_bug.cgi?id=809

Summary: Property: ERROR when reading in long value
Product: Toolchain
Version: unspecified
Platform: Intel 64bit
OS/Version: GNU/Linux
Status: NEW
Severity: major
Priority: P5
Component: RTT
AssignedTo: orocos-dev [..] ...
ReportedBy: steven [dot] bellens [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0

Created attachment 627
--> http://bugs.orocos.org/attachment.cgi?id=627
The generated property file

I have a component with 5 properties (3 ints - 2 strings). I save the
properties in a .cpf file using
marshalling.writeProperties("test.cpf")
I then try to load the properties from the newly generated cpf file:

marshalling.loadProperties ("test.cpf")
10.288 [ Info ][PropertyLoader:load] Loading properties into
TaskContext 'Krypton' with 'test.cpf'.
10.296 [ ERROR ][CPFDemarshaller] An XML SAX exception occurred
processing file
10.296 [ ERROR ][CPFDemarshaller] Wrong value for property 'long'.
Value should contain an integer value, got ''.
10.296 [ ERROR ][PropertyLoader:load] Some error occured while parsing
test.cpf
= false

cpf file in appendix

[Bug 809] Property: ERROR when reading in long value

http://bugs.orocos.org/show_bug.cgi?id=809

Peter Soetens <peter [..] ...> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED

--- Comment #5 from Peter Soetens <peter [..] ...> 2011-02-25 00:07:00 CET ---
(In reply to comment #0)
> Created attachment 627
> The generated property file
>
> I have a component with 5 properties (3 ints - 2 strings). I save the
> properties in a .cpf file using
> marshalling.writeProperties("test.cpf")
> I then try to load the properties from the newly generated cpf file:
>
> marshalling.loadProperties ("test.cpf")
> 10.288 [ Info ][PropertyLoader:load] Loading properties into
> TaskContext 'Krypton' with 'test.cpf'.
> 10.296 [ ERROR ][CPFDemarshaller] An XML SAX exception occurred
> processing file
> 10.296 [ ERROR ][CPFDemarshaller] Wrong value for property 'long'.
> Value should contain an integer value, got ''.
> 10.296 [ ERROR ][PropertyLoader:load] Some error occured while parsing test.cpf
> = false
>
> cpf file in appendix

I fixed this such that we support Xerces 2 and 3. Applied on toolchain-2.2 and
later.

Peter

[Bug 808] New: Property: ERROR when reading in long value

http://bugs.orocos.org/show_bug.cgi?id=808

Summary: Property: ERROR when reading in long value
Product: Toolchain
Version: unspecified
Platform: Intel 64bit
OS/Version: GNU/Linux
Status: RESOLVED
Severity: major
Priority: P5
Component: RTT
AssignedTo: orocos-dev [..] ...
ReportedBy: steven [dot] bellens [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0

Peter Soetens <peter [..] ...> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE

I have a component with 5 properties (3 ints - 2 strings). I save the
properties in a .cpf file using
marshalling.writeProperties("test.cpf")
I then try to load the properties from the newly generated cpf file:

marshalling.loadProperties ("test.cpf")
10.288 [ Info ][PropertyLoader:load] Loading properties into
TaskContext 'Krypton' with 'test.cpf'.
10.296 [ ERROR ][CPFDemarshaller] An XML SAX exception occurred
processing file
10.296 [ ERROR ][CPFDemarshaller] Wrong value for property 'long'.
Value should contain an integer value, got ''.
10.296 [ ERROR ][PropertyLoader:load] Some error occured while parsing
test.cpf
= false

cpf file in appendix

--- Comment #1 from Peter Soetens <peter [..] ...> 2011-02-24 23:26:03 CET ---
Was duplicate submission.

*** This bug has been marked as a duplicate of bug 809 ***

[Bug 809] Property: ERROR when reading in long value

http://bugs.orocos.org/show_bug.cgi?id=809

--- Comment #4 from Peter Soetens <peter [..] ...> 2011-02-24 23:26:03 CET ---
*** Bug 808 has been marked as a duplicate of this bug. ***

[Bug 809] Property: ERROR when reading in long value

http://bugs.orocos.org/show_bug.cgi?id=809

--- Comment #3 from Peter Soetens <peter [..] ...> 2011-02-24 23:25:34 CET ---
*** Bug 807 has been marked as a duplicate of this bug. ***

[Bug 807] New: Property: ERROR when reading in long value

http://bugs.orocos.org/show_bug.cgi?id=807

Summary: Property: ERROR when reading in long value
Product: Toolchain
Version: unspecified
Platform: Intel 64bit
OS/Version: GNU/Linux
Status: RESOLVED
Severity: major
Priority: P5
Component: RTT
AssignedTo: orocos-dev [..] ...
ReportedBy: steven [dot] bellens [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0

Peter Soetens <peter [..] ...> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE

I have a component with 5 properties (3 ints - 2 strings). I save the
properties in a .cpf file using
marshalling.writeProperties("test.cpf")
I then try to load the properties from the newly generated cpf file:

marshalling.loadProperties ("test.cpf")
10.288 [ Info ][PropertyLoader:load] Loading properties into
TaskContext 'Krypton' with 'test.cpf'.
10.296 [ ERROR ][CPFDemarshaller] An XML SAX exception occurred
processing file
10.296 [ ERROR ][CPFDemarshaller] Wrong value for property 'long'.
Value should contain an integer value, got ''.
10.296 [ ERROR ][PropertyLoader:load] Some error occured while parsing
test.cpf
= false

cpf file in appendix

--- Comment #1 from Peter Soetens <peter [..] ...> 2011-02-24 23:25:34 CET ---
Was duplicate submission.

*** This bug has been marked as a duplicate of bug 809 ***

[Bug 809] Property: ERROR when reading in long value

http://bugs.orocos.org/show_bug.cgi?id=809

--- Comment #2 from Steven Bellens <steven [dot] bellens [..] ...> 2011-01-28 11:05:30 CET ---
(In reply to comment #1)
> Which version of Xerces is this ?

xerces-c 3.0.1

>
> There's this new cmake flag OROBLD_FORCE_TINY_DEMARSHALLER you could turn ON
> and see if this fixes this issue for you.

This fixes the issue!

Steven

>
> Peter

[Bug 809] Property: ERROR when reading in long value

http://bugs.orocos.org/show_bug.cgi?id=809

Peter Soetens <peter [..] ...> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |peter [..] ...

--- Comment #1 from Peter Soetens <peter [..] ...> 2011-01-28 10:24:38 CET ---
Which version of Xerces is this ?

There's this new cmake flag OROBLD_FORCE_TINY_DEMARSHALLER you could turn ON
and see if this fixes this issue for you.

Peter