version 1.144, 2009/12/15 11:39:34
|
version 1.144.2.1, 2012/12/13 14:29:21
|
|
|
else | else |
{ | { |
while (getKeyBindingElement(parser, name, value, type)) | while (getKeyBindingElement(parser, name, value, type)) |
|
{ |
keyBindings.append(CIMKeyBinding(name, value, type)); | keyBindings.append(CIMKeyBinding(name, value, type)); |
|
if (keyBindings.size() > PEGASUS_MAXELEMENTS_NUM) |
|
{ |
|
MessageLoaderParms mlParms( |
|
"Common.XmlReader.TOO_MANY_KEYBINDINGS", |
|
"More than $0 key-value pairs per object path" |
|
" are not supported.", |
|
PEGASUS_MAXELEMENTS_NUM); |
|
throw XmlValidationError(parser.getLine(), mlParms); |
|
} |
|
} |
} | } |
| |
expectEndTag(parser, "INSTANCENAME"); | expectEndTag(parser, "INSTANCENAME"); |