Fix detection of numeric field

Discarding header lines was faulty as the test whether dive number was
numeric did not work properly.

Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Miika Turkia 2015-01-24 17:03:18 +02:00 committed by Dirk Hohndel
parent 14f96fc4de
commit 3b8643af4f

View file

@ -85,7 +85,7 @@
</xsl:choose>
</xsl:variable>
<xsl:if test="$number >= 0">
<xsl:if test="number($number) = $number">
<dive>
<xsl:attribute name="date">
<xsl:choose>