SVRL role attribute is no longer used as a secondary source for error codes when id is not present.

Instead, error code UNSPECIFIC is used.
This commit is contained in:
fbuettner 2018-02-12 13:47:34 +01:00
parent 17e184ddfc
commit 4cb586cb81

View file

@ -204,7 +204,10 @@
</xsl:choose>
</xsl:attribute>
<xsl:apply-templates select="@location"/>
<xsl:apply-templates select="(@id,@flag)[1]"/>
<xsl:apply-templates select="@id"/>
<xsl:if test="empty(@id)">
<xsl:attribute name="code">UNSPECIFIC</xsl:attribute>
</xsl:if>
<xsl:value-of select="svrl:text"/>
</rep:message>
</xsl:template>