Changeset 7442 in vbox for trunk/src/VBox/Main/VirtualBoxImplExtra.cpp
- Timestamp:
- Mar 13, 2008 2:33:18 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/VirtualBoxImplExtra.cpp
r7387 r7442 31 31 #include "xml_SettingsConverter_xsl.h" 32 32 33 static const unsigned char g_ab_xml_VirtualBox_settings_root_xsd[] = 34 "<xsd:schema" 35 " xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"" 36 " xmlns=\"http://www.innotek.de/VirtualBox-settings\"" 37 " xmlns:vb=\"http://www.innotek.de/VirtualBox-settings\"" 38 " targetNamespace=\"http://www.innotek.de/VirtualBox-settings\"" 39 " elementFormDefault=\"qualified\"" 40 ">" 41 "<xsd:element name=\"VirtualBox\">" 42 " <xsd:complexType>" 43 " <xsd:complexContent>" 44 " <xsd:extension base=\"TVirtualBox\">" 45 " <xsd:attribute name=\"version\" type=\"xsd:token\" fixed=\"" VBOX_XML_VERSION_FULL "\" use=\"required\"/>" 46 " </xsd:extension>" 47 " </xsd:complexContent>" 48 " </xsd:complexType>" 49 "</xsd:element>" 50 "</xsd:schema>"; 51 52 static const unsigned g_cb_xml_VirtualBox_settings_root_xsd = 53 sizeof (g_ab_xml_VirtualBox_settings_root_xsd); 54 33 55 /** 34 56 * Resolves external entities while parting and validating XML settings files. … … 48 70 MemoryBuf ((const char *) g_ab_xml_VirtualBox_settings_common_xsd, 49 71 g_cb_xml_VirtualBox_settings_common_xsd, aURI); 72 } 73 74 if (strcmp (aURI, VBOX_XML_SCHEMA_ROOT) == 0) 75 { 76 return new settings:: 77 MemoryBuf ((const char *) g_ab_xml_VirtualBox_settings_root_xsd, 78 g_cb_xml_VirtualBox_settings_root_xsd, aURI); 50 79 } 51 80
Note:
See TracChangeset
for help on using the changeset viewer.