[fdo][FDO290][Modified] Constraint values - various boundary conditions

Brent Robinson brent.robinson at autodesk.com
Mon Nov 20 14:50:39 EST 2006


You can view the artifact detail at the following URL:

    https://fdo.osgeo.org/servlets/Scarab/id/FDO290

Type:
Defect

Artifact ID:
FDO290 (Constraint values - various boundary conditions)

Modified by:
Brent Robinson
brentrobinson (brent.robinson at autodesk.com)

The following modifications were made to this artifact:
---------------------------------------------------------------------

-- Resolution Description set to new value:
Added to single data type conversion in DescribeSchemaCommand implementation. This converts double constraint values to the single precision data type.

Added Int64 support to the Constraint parser. Previously, Int64 values were parsed as doubles, leading to rounding when the value had more than 16 digits of precision. Also added Int64 support to the generic FDO expression and filter parsers. 

Changed FdoByteValue::ToString() to format byte values in decimal, instead of hex format. This also fixed a round tripping problem, when an FdoByte is written to string, and read back using the expression or filter parsers. Neither of these parsers handle hex format numbers.

Fixed FdoDataValue::GetStringValue() to always return a string that the caller does not have to free. Previously, the returned string needed to be freed if the value type was DateTime. However, freeing values for other types led to memory corruption. Renamed this function to GetXmlValue() to reflect what it does. 

Modified FdoDataValue::GetXmlValue() to 0 pad month, day, hour minute and seconds values to 2 digits as per XML Schema spec. 

Modified FdoDataValue::Create() to handle dates with negative year.


-- Submission Reviewed set to new value:
Yes
-- Defect Resolution set to new value:
Submitted
-- Artifact Status changed:
Old value:
Assigned
New value:
Resolved
-- Target milestone set to new value:
3.2.1



---------------------------------------------------------------------
This message was automatically generated by Project Tracker.








More information about the Fdo_issues mailing list