We have reproduced the problem and we need time to investigate the issue.
The reason for my question is if you loading data into the database you can just convert XML file into CSV and load it instead.
That would be a much faster option.
You can use the XLST for conversion.
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="
www.w3.org/1999/XSL/Transform
">
<xsl:output method="text" encoding="UTF-8"/>
<xsl:template match="DFMS_VariableValues">
<xsl:text>@DFMS_PeriodDimensionID,@DFMS_PeriodTypeID,@DFMS_PeriodTypeValue,@DFMS_PeriodYear,@DFMS_PeriodValue,@DFMS_ValueNumeric,@DFMS_VariableID,@DFMS_VariableValueID
</xsl:text>
<xsl:text>
</xsl:text>
<xsl:for-each select="DFMS_VariableValue">
<xsl:value-of select="@DFMS_PeriodDimensionID"/>
<xsl:text>,</xsl:text>
<xsl:value-of select="@DFMS_PeriodTypeID"/>
<xsl:text>,</xsl:text>
<xsl:value-of select="@DFMS_PeriodTypeValue"/>
<xsl:text>,</xsl:text>
<xsl:value-of select="@DFMS_PeriodYear"/>
<xsl:text>,</xsl:text>
<xsl:value-of select="@DFMS_PeriodValue"/>
<xsl:text>,</xsl:text>
<xsl:value-of select="@DFMS_ValueNumeric"/>
<xsl:text>,</xsl:text>
<xsl:value-of select="@DFMS_VariableID"/>
<xsl:text>,</xsl:text>
<xsl:value-of select="@DFMS_VariableValueID"/>
<xsl:text>
</xsl:text>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>
On my computer, it takes 14 seconds to convert.
The CSV file is much smaller than the original XML (6Mb vs 36Mb)
Please also have a look at this example
www.etl-tools.com/automation/0010-how-to...-delimited-file.html