[fdo][FDO290][Modified] Constraint values - various boundary conditions
Brent Robinson
brent.robinson at autodesk.com
Thu Nov 16 21:09:25 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:
---------------------------------------------------------------------
Added following comment to artifact::
Automated Comment. Version control commit message.
FDO290
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.
Added Int64 support to the generic FDO expression and filter parsers.
Modified
File: branches/3.2.x/Fdo/UnitTest/CommonTest.cpp https://fdocore.osgeo.org/source/browse/fdocore/branches/3.2.x/Fdo/UnitTest/CommonTest.cpp?view=diff&rev=507&p1=branches/3.2.x/Fdo/UnitTest/CommonTest.cpp&r1=506&p2=branches/3.2.x/Fdo/UnitTest/CommonTest.cpp&r2=507
File: branches/3.2.x/Fdo/UnitTest/ExpressionParseTest.cpp https://fdocore.osgeo.org/source/browse/fdocore/branches/3.2.x/Fdo/UnitTest/ExpressionParseTest.cpp?view=diff&rev=507&p1=branches/3.2.x/Fdo/UnitTest/ExpressionParseTest.cpp&r1=506&p2=branches/3.2.x/Fdo/UnitTest/ExpressionParseTest.cpp&r2=507
File: branches/3.2.x/Fdo/UnitTest/ExpressionParseTest.h https://fdocore.osgeo.org/source/browse/fdocore/branches/3.2.x/Fdo/UnitTest/ExpressionParseTest.h?view=diff&rev=507&p1=branches/3.2.x/Fdo/UnitTest/ExpressionParseTest.h&r1=506&p2=branches/3.2.x/Fdo/UnitTest/ExpressionParseTest.h&r2=507
File: branches/3.2.x/Fdo/UnitTest/FilterParseTest.cpp https://fdocore.osgeo.org/source/browse/fdocore/branches/3.2.x/Fdo/UnitTest/FilterParseTest.cpp?view=diff&rev=507&p1=branches/3.2.x/Fdo/UnitTest/FilterParseTest.cpp&r1=506&p2=branches/3.2.x/Fdo/UnitTest/FilterParseTest.cpp&r2=507
File: branches/3.2.x/Fdo/UnitTest/FilterParseTest.h https://fdocore.osgeo.org/source/browse/fdocore/branches/3.2.x/Fdo/UnitTest/FilterParseTest.h?view=diff&rev=507&p1=branches/3.2.x/Fdo/UnitTest/FilterParseTest.h&r1=506&p2=branches/3.2.x/Fdo/UnitTest/FilterParseTest.h&r2=507
File: branches/3.2.x/Fdo/UnitTest/SchemaTest.cpp https://fdocore.osgeo.org/source/browse/fdocore/branches/3.2.x/Fdo/UnitTest/SchemaTest.cpp?view=diff&rev=507&p1=branches/3.2.x/Fdo/UnitTest/SchemaTest.cpp&r1=506&p2=branches/3.2.x/Fdo/UnitTest/SchemaTest.cpp&r2=507
File: branches/3.2.x/Fdo/UnitTest/schema_all1_master.txt https://fdocore.osgeo.org/source/browse/fdocore/branches/3.2.x/Fdo/UnitTest/schema_all1_master.txt?view=diff&rev=507&p1=branches/3.2.x/Fdo/UnitTest/schema_all1_master.txt&r1=506&p2=branches/3.2.x/Fdo/UnitTest/schema_all1_master.txt&r2=507
File: branches/3.2.x/Fdo/UnitTest/schema_merge1a.xml https://fdocore.osgeo.org/source/browse/fdocore/branches/3.2.x/Fdo/UnitTest/schema_merge1a.xml?view=diff&rev=507&p1=branches/3.2.x/Fdo/UnitTest/schema_merge1a.xml&r1=506&p2=branches/3.2.x/Fdo/UnitTest/schema_merge1a.xml&r2=507
File: branches/3.2.x/Fdo/UnitTest/schema_merge2a_master.txt https://fdocore.osgeo.org/source/browse/fdocore/branches/3.2.x/Fdo/UnitTest/schema_merge2a_master.txt?view=diff&rev=507&p1=branches/3.2.x/Fdo/UnitTest/schema_merge2a_master.txt&r1=506&p2=branches/3.2.x/Fdo/UnitTest/schema_merge2a_master.txt&r2=507
File: branches/3.2.x/Fdo/Unmanaged/Inc/Fdo/Expression/DataValue.h https://fdocore.osgeo.org/source/browse/fdocore/branches/3.2.x/Fdo/Unmanaged/Inc/Fdo/Expression/DataValue.h?view=diff&rev=507&p1=branches/3.2.x/Fdo/Unmanaged/Inc/Fdo/Expression/DataValue.h&r1=506&p2=branches/3.2.x/Fdo/Unmanaged/Inc/Fdo/Expression/DataValue.h&r2=507
File: branches/3.2.x/Fdo/Unmanaged/Src/Common/StringP.cpp https://fdocore.osgeo.org/source/browse/fdocore/branches/3.2.x/Fdo/Unmanaged/Src/Common/StringP.cpp?view=diff&rev=507&p1=branches/3.2.x/Fdo/Unmanaged/Src/Common/StringP.cpp&r1=506&p2=branches/3.2.x/Fdo/Unmanaged/Src/Common/StringP.cpp&r2=507
File: branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Expression/ByteValue.cpp https://fdocore.osgeo.org/source/browse/fdocore/branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Expression/ByteValue.cpp?view=diff&rev=507&p1=branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Expression/ByteValue.cpp&r1=506&p2=branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Expression/ByteValue.cpp&r2=507
File: branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Expression/DataValue.cpp https://fdocore.osgeo.org/source/browse/fdocore/branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Expression/DataValue.cpp?view=diff&rev=507&p1=branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Expression/DataValue.cpp&r1=506&p2=branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Expression/DataValue.cpp&r2=507
File: branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Parse/Lex.cpp https://fdocore.osgeo.org/source/browse/fdocore/branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Parse/Lex.cpp?view=diff&rev=507&p1=branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Parse/Lex.cpp&r1=506&p2=branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Parse/Lex.cpp&r2=507
File: branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Parse/Parse.cpp https://fdocore.osgeo.org/source/browse/fdocore/branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Parse/Parse.cpp?view=diff&rev=507&p1=branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Parse/Parse.cpp&r1=506&p2=branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Parse/Parse.cpp&r2=507
File: branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Parse/yyExpression.y https://fdocore.osgeo.org/source/browse/fdocore/branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Parse/yyExpression.y?view=diff&rev=507&p1=branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Parse/yyExpression.y&r1=506&p2=branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Parse/yyExpression.y&r2=507
File: branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Parse/yyExpressionWin.cpp https://fdocore.osgeo.org/source/browse/fdocore/branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Parse/yyExpressionWin.cpp?view=diff&rev=507&p1=branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Parse/yyExpressionWin.cpp&r1=506&p2=branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Parse/yyExpressionWin.cpp&r2=507
File: branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Parse/yyExpressionWin.h https://fdocore.osgeo.org/source/browse/fdocore/branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Parse/yyExpressionWin.h?view=diff&rev=507&p1=branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Parse/yyExpressionWin.h&r1=506&p2=branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Parse/yyExpressionWin.h&r2=507
File: branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Parse/yyFilter.y https://fdocore.osgeo.org/source/browse/fdocore/branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Parse/yyFilter.y?view=diff&rev=507&p1=branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Parse/yyFilter.y&r1=506&p2=branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Parse/yyFilter.y&r2=507
File: branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Parse/yyFilterWin.cpp https://fdocore.osgeo.org/source/browse/fdocore/branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Parse/yyFilterWin.cpp?view=diff&rev=507&p1=branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Parse/yyFilterWin.cpp&r1=506&p2=branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Parse/yyFilterWin.cpp&r2=507
File: branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Parse/yyFilterWin.h https://fdocore.osgeo.org/source/browse/fdocore/branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Parse/yyFilterWin.h?view=diff&rev=507&p1=branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Parse/yyFilterWin.h&r1=506&p2=branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Parse/yyFilterWin.h&r2=507
File: branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Schema/DataPropertyDefinition.cpp https://fdocore.osgeo.org/source/browse/fdocore/branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Schema/DataPropertyDefinition.cpp?view=diff&rev=507&p1=branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Schema/DataPropertyDefinition.cpp&r1=506&p2=branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Schema/DataPropertyDefinition.cpp&r2=507
File: branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Schema/PropertyValueConstraintList.cpp https://fdocore.osgeo.org/source/browse/fdocore/branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Schema/PropertyValueConstraintList.cpp?view=diff&rev=507&p1=branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Schema/PropertyValueConstraintList.cpp&r1=506&p2=branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Schema/PropertyValueConstraintList.cpp&r2=507
---------------------------------------------------------------------
This message was automatically generated by Project Tracker.
More information about the Fdo_issues
mailing list