Changeset 3358
- Timestamp:
- 04/08/07 09:06:26 (6 years ago)
- Files:
-
- 1 modified
-
ossie/trunk/ossie/parser/SPDImplementation.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ossie/trunk/ossie/parser/SPDImplementation.cpp
r3353 r3358 98 98 setCodeType (code->Attribute("type")); 99 99 100 TiXmlElement *local = elem->FirstChildElement("localfile");100 TiXmlElement *local = code->FirstChildElement("localfile"); 101 101 codeFile = local->Attribute("name"); 102 102 … … 121 121 std::string str = _ct; 122 122 123 if ( _ct== "KernelModule")123 if (str == "KernelModule") 124 124 codeType = CF::LoadableDevice::KERNEL_MODULE; 125 else if ( _ct== "SharedLibrary")125 else if (str == "SharedLibrary") 126 126 codeType = CF::LoadableDevice::SHARED_LIBRARY; 127 else if ( _ct== "Executable")127 else if (str == "Executable") 128 128 codeType = CF::LoadableDevice::EXECUTABLE; 129 else if ( _ct== "Driver")129 else if (str == "Driver") 130 130 codeType = CF::LoadableDevice::DRIVER; 131 131 else { 132 DEBUG(1, SPDImplementation, "Bad code type found in xml file.");132 DEBUG(1, SPDImplementation, "Bad code type " << str << " found in xml file."); 133 133 //throw new SCA.CF.InvalidProfile(msg); 134 134 }