- Timestamp:
- 03/20/13 16:21:19 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cats/ISOcat/trunk/mod-ISOcat-access-data/access/dc_check.xsl
r2710 r2725 225 225 226 226 <xsl:template match="dcif:descriptionSection/dcif:profile"> 227 <xsl:if test=" $standard-flag andcurrent()='undecided'">227 <xsl:if test="current()='undecided'"> 228 228 <xsl:choose> 229 <xsl:when test=" ancestor::dcif:dataCategory/@isocat:type='closed'">229 <xsl:when test="count(distinct-values(../dcif:profile))=1"> 230 230 <xsl:call-template name="warning"> 231 <xsl:with-param name="msg"> Standardized data categories can't bea member of the 'undecided' profile.</xsl:with-param>231 <xsl:with-param name="msg">This data category is (still) a member of the 'undecided' profile.</xsl:with-param> 232 232 <xsl:with-param name="standard" select="'allow'"/> 233 233 </xsl:call-template> … … 235 235 <xsl:otherwise> 236 236 <xsl:call-template name="error"> 237 <xsl:with-param name="msg"> Standardized data categories can't be a member of the 'undecided' profile.</xsl:with-param>237 <xsl:with-param name="msg">This data category is a member of the 'undecided' profile and one or more thematic profiles.</xsl:with-param> 238 238 </xsl:call-template> 239 239 </xsl:otherwise> 240 240 </xsl:choose> 241 241 </xsl:if> 242 <xsl:if test="$standard-flag and current()='undecided'"> 243 <xsl:call-template name="error"> 244 <xsl:with-param name="msg">Standardized data categories can't be a member of the 'undecided' profile.</xsl:with-param> 245 </xsl:call-template> 246 </xsl:if> 242 247 <xsl:if test="$standard-flag and current()='not available'"> 243 248 <xsl:choose> 244 <xsl:when test="ancestor::dcif:dataCategory/@isocat:type=' not available'">249 <xsl:when test="ancestor::dcif:dataCategory/@isocat:type='closed'"> 245 250 <xsl:call-template name="warning"> 246 251 <xsl:with-param name="msg">Standardized data categories can't be a member of the 'not available' profile.</xsl:with-param>
Note: See TracChangeset
for help on using the changeset viewer.