VirtualBox

Changeset 13453 in vbox for trunk/src


Ignore:
Timestamp:
Oct 21, 2008 4:10:22 PM (16 years ago)
Author:
vboxsync
Message:

Main (Guest Properties): try again to fix the XML issues

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/MachineImpl.cpp

    r13451 r13453  
    52125212                mHWData->mGuestProperties.push_back(property);
    52135213            }
    5214             notificationPatterns = guestPropertiesNode.stringValue ("NotificationPatterns");
     5214            notificationPatterns = guestPropertiesNode.stringValue ("notificationPatterns");
    52155215        }
    52165216        mHWData->mPropertyServiceActive = false;
     
    66016601            propertyNode.setValue <Bstr> ("flags", Bstr(szFlags));
    66026602        }
    6603         guestPropertiesNode.setValue <Bstr> ("NotificationPatterns",
    6604                                              mHWData->mGuestPropertyNotificationPatterns);
     6603        guestPropertiesNode.setValueOr <Bstr> ("notificationPatterns",
     6604                                               mHWData->mGuestPropertyNotificationPatterns,
     6605                                               Bstr (""));
    66056606    }
    66066607#endif /* VBOX_WITH_GUEST_PROPS defined */
  • trunk/src/VBox/Main/xml/VirtualBox-settings-common.xsd

    r13450 r13453  
    701701
    702702<xsd:complexType name="TGuestProperties">
     703  <xsd:sequence>
     704    <xsd:element name="GuestProperty" type="TGuestProperty" minOccurs="0" maxOccurs="unbounded"/>
     705  </xsd:sequence>
    703706  <xsd:attribute name="notificationPatterns" type="xsd:string" default=""/>
    704   <xsd:sequence>
    705     <xsd:element name="GuestProperty" type="TGuestProperty" minOccurs="0" maxOccurs="unbounded"/>
    706   </xsd:sequence>
    707707</xsd:complexType>
    708708
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette