XMLParser
1.CIMParameter getCIMParameter(Node node)
{
...
if (nodename.endsWith(".REFARRAY")) {
int refSize = cp.getSize();
if ( refSize <= 0) {
refSize = CIMDataType.SIZE_UNLIMITED;
}
cp.setType(new CIMDataType(refclassname,
refSize));//fix bug by zjw
}
...
}
2.CIMValue getCIMValue(Node node, String type)
{
...
} else if (nodename.equals(CIMXml.VALUE_ARRAY))
{
Vector v = new Vector();
for (node = walker.getNextElement(CIMXml.VALUE);
node != null; ) {
v.addElement(valueObject(node, type));
node = walker.getNextElement(CIMXml.VALUE);
}
o = v;
break;
}
//fix bug by zjw: begin
else if(nodename.equal(CIMXml.VALUE_REFARRAY))
{
Vector v = new Vector();
for (node = walker.getNextElement
(CIMXml.VALUE_REFERENCE); node != null; ) {
v.addElement(getCIMObjectPath
(getFirstChildElement(node)));
node = walker.getNextElement
(CIMXml.VALUE_REFERENCE);
}
o = v;
break;
}
//fix bug by zjw: end
...
}
Logged In: YES
user_id=1524608
Please update XMLParser.java class