mirror of
https://github.com/itplr-kosit/validator.git
synced 2026-05-25 16:55:39 +00:00
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:
parent
17e184ddfc
commit
4cb586cb81
1 changed files with 4 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue