Login Register Actian.com  

Actian Community Forum


Go Back   Actian Community Forums > Ingres Forums > Database General
 

Reply
 
LinkBack Thread Tools Display Modes
Old 2012-02-09   #1 (permalink)
Junior Member
 
Join Date: Feb 2012
Posts: 2
Default genxml negative value bug?

hi all,

There seems to be a bug in genxml of ingres 10.1.

When an integer field contains a negative value it is exported into xml as an unsigned value in its two's-complement representation. So -1 becomes a very large value. Importing this into the server that exported it, fails because the value is out of range.

I tried this on an old ingres 2006 server. There the -1 value is exported into xml as expected.

Is there a known workaround or fix for this problem?
Cobbenr is offline   Reply With Quote
Old 2012-02-15   #2 (permalink)
Junior Member
 
Join Date: Feb 2012
Posts: 2
Default

Had this tested on latest ingres-build for MSWindows. There genxml produces negative values correctly. The problem seems to be limited to specific builds of ingress 10.1. Has somebody managed to get genxml produce negative values on linux?
Cobbenr is offline   Reply With Quote

Reply



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


© 2011 Actian Corporation. All Rights Reserved