version 1.79, 2002/10/03 22:31:09
|
version 1.80, 2002/10/03 23:31:09
|
|
|
| |
if (!stringToUnsignedInteger(valueString, x)) | if (!stringToUnsignedInteger(valueString, x)) |
{ | { |
|
char message[128]; |
|
sprintf(message, "Illegal unsigned integer value - %s", valueString); |
throw XmlSemanticError( | throw XmlSemanticError( |
lineNumber, "Invalid unsigned integer value"); |
lineNumber, message); |
} | } |
| |
switch (type) | switch (type) |
|
|
| |
expectEndTag(parser, "VALUE"); | expectEndTag(parser, "VALUE"); |
} | } |
|
#ifdef PEGASUS_SNIA_INTEROP_TEST |
|
// KS 20021004 - tries to put value in even if empty. |
|
// Think this is general problem with empty value |
|
// Need to check meaning of (#PCDATA) - Does it allow empty. |
|
// Bugzilla tbd |
|
if (!empty) |
|
#endif |
value = stringToValue(parser.getLine(), valueString,type); | value = stringToValue(parser.getLine(), valueString,type); |
| |
return true; | return true; |