VirtualBox

Changeset 14439 in vbox


Ignore:
Timestamp:
Nov 20, 2008 11:33:47 PM (16 years ago)
Author:
vboxsync
Message:

Main: Fixed CPUCount/@count => CPU/@count conversion.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/Makefile.kmk

    r14317 r14439  
    693693        $(QUIET)$(VBOX_XSLTPROC) -o $(VBOX_USER_HOME)/VirtualBox.xml.test xml/SettingsConverter.xsl $<
    694694
     695testconverter2:: $(VBOX_USER_HOME)/Machines/dos/dos.xml
     696        $(call MSG_TOOL,xsltproc,Test Settings Converter,$<,$<.test)
     697        $(QUIET)$(VBOX_XSLTPROC) -o $<.test xml/SettingsConverter.xsl $<
     698
  • trunk/src/VBox/Main/xml/SettingsConverter.xsl

    r14437 r14439  
    694694              mode="v1.5">
    695695  <xsl:copy>
    696     <xsl:attribute name="count"><xsl:value-of select="vb:CPUCount/@count"/></xsl:attribute>
     696    <xsl:if test="vb:CPUCount/@count">
     697      <xsl:attribute name="count"><xsl:value-of select="vb:CPUCount/@count"/></xsl:attribute>
     698    </xsl:if>
    697699    <xsl:apply-templates select="@*" mode="v1.5"/>
    698700    <xsl:apply-templates select="node()[not(self::vb:CPUCount)]" mode="v1.5"/>
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