version 1.18, 2007/03/16 17:16:52
|
version 1.19, 2007/03/27 17:31:33
|
|
|
XmlWriter::appendValueNamedInstanceElement(buffer, cimInstance); | XmlWriter::appendValueNamedInstanceElement(buffer, cimInstance); |
} | } |
| |
XmlWriter::append(buffer, "</IRETURNVALUE>\0"); |
XmlWriter::append(buffer, "</IRETURNVALUE>"); |
| |
fputs((const char*)buffer.getData(), fileHandle); | fputs((const char*)buffer.getData(), fileHandle); |
| |
|
|
try | try |
{ | { |
FileSystem::loadFileToMemory(text, fileName); //ATTN: Is this safe to use; what about CRLFs? | FileSystem::loadFileToMemory(text, fileName); //ATTN: Is this safe to use; what about CRLFs? |
text.append('\0'); |
|
| |
//parse the file | //parse the file |
XmlParser parser((char*)text.getData()); | XmlParser parser((char*)text.getData()); |