tiff_6_0_to_xslt_presment.xslt contains:
<xsl:choose>
<xsl:when test="$resunit=1">none</xsl:when>
<xsl:when test="$resunit=2">dpi</xsl:when>
<xsl:when test="$resunit=2">dpcm</xsl:when>
<xsl:otherwise>dpi</xsl:otherwise>
</xsl:choose>
I believe the last resunit=2 should actually be 3.