- Timestamp:
- May 28, 2010 7:17:22 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/xml/ovfreader.cpp
r29422 r29876 86 86 const char *pcszTypeAttr = ""; 87 87 const xml::AttributeNode *pTypeAttr; 88 if ((pTypeAttr = pElem->findAttribute("type"))) 88 if ( ((pTypeAttr = pElem->findAttribute("xsi:type"))) 89 || ((pTypeAttr = pElem->findAttribute("type"))) 90 ) 89 91 pcszTypeAttr = pTypeAttr->getValue(); 90 92 … … 97 99 HandleDiskSection(pReferencesElem, pElem); 98 100 } 99 else if ( (!strcmp(pcszElemName, "NetworkSection"))101 else if ( (!strcmp(pcszElemName, "NetworkSection")) 100 102 || ( (!strcmp(pcszElemName, "Section")) 101 103 && (!strcmp(pcszTypeAttr, "ovf:NetworkSection_Type"))
Note:
See TracChangeset
for help on using the changeset viewer.