version 1.75, 2002/09/25 18:47:24
|
version 1.76, 2002/10/02 20:35:06
|
|
|
| |
try | try |
{ | { |
|
// KS 20021002 - Exception if no datatime value. Test for |
|
// zero length and leave the NULL value in the variable |
|
// Bugzilla 137 Adds the following if line. |
|
#ifdef PEGASUS_SNIA_INTEROP_TEST |
|
if (strlen(valueString) != 0) |
|
#endif |
tmp.set(valueString); | tmp.set(valueString); |
} | } |
catch (InvalidDateTimeFormatException&) | catch (InvalidDateTimeFormatException&) |
{ | { |
|
cout << "KSTESTSNIA Invalid date time" << strlen(valueString) << "xx" << valueString << endl; |
throw XmlSemanticError(lineNumber, "Invalid datetime value"); | throw XmlSemanticError(lineNumber, "Invalid datetime value"); |
} | } |
| |