Changeset 3293


Ignore:
Timestamp:
08/07/13 11:47:40 (11 years ago)
Author:
mwindhouwer
Message:

M dc_check.xsl

  • raise an error when the DC isn't a member of at least one profile
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/dc_check.xsl

    r2725 r3293  
    221221                        </xsl:if>
    222222                </xsl:for-each-group>
     223                <xsl:if test="empty(dcif:profile)">
     224                        <xsl:call-template name="error">
     225                                <xsl:with-param name="msg">The Data Category is not a member of any profile.</xsl:with-param>
     226                        </xsl:call-template>
     227                </xsl:if>
    223228                <xsl:apply-templates/>
    224229        </xsl:template>
Note: See TracChangeset for help on using the changeset viewer.