VirtualBox

Changeset 13592 in vbox for trunk/src/VBox/Main/xml


Ignore:
Timestamp:
Oct 27, 2008 6:04:44 PM (16 years ago)
Author:
vboxsync
Message:

Main/SettingsConverter: Fixed: @filePath of all elements other than VirtualDiskImage was not used for the @location value leaving it empty.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/xml/SettingsConverter.xsl

    r13590 r13592  
    492492      </xsl:when>
    493493      <xsl:when test="*[self::vb:VMDKImage][1]">
    494         <xsl:value-of select="@filePath"/>
     494        <xsl:value-of select="vb:VMDKImage/@filePath"/>
    495495      </xsl:when>
    496496      <xsl:when test="*[self::vb:VHDImage][1]">
    497         <xsl:value-of select="@filePath"/>
     497        <xsl:value-of select="vb:VHDImage/@filePath"/>
    498498      </xsl:when>
    499499      <xsl:when test="*[self::vb:CustomHardDisk][1]">
    500         <xsl:value-of select="@location"/>
     500        <xsl:value-of select="vb:CustomHardDisk/@location"/>
    501501      </xsl:when>
    502       <!--xsl:when test="*[name()='ISCSIHardDisk'][1]">
    503         <xsl:value-of select="concat('iscsi://',@userName,':',@password,'@',@server,':',@port,'/',@target,'/',@lun)"/>
     502      <!--xsl:when test="*[self::vb:ISCSIHardDisk][1]">
     503        <xsl:value-of select="concat('iscsi://',vb:ISCSIHardDisk/@userName,':',vb:ISCSIHardDisk/@password,'@',vb:ISCSIHardDisk/@server,':',vb:ISCSIHardDisk/@port,'/',vb:ISCSIHardDisk/@target,'/',vb:ISCSIHardDisk/@lun)"/>
    504504      </xsl:when-->
    505505    </xsl:choose>
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