diff --git a/stylesheets/MeoDadmNamingVerification.xslt b/stylesheets/MeoDadmNamingVerification.xslt index 1915133da983e95ceac34f5dceff33457516435e..c5cf23cf505c25f0da23c5384e4dc33e0bc1caaf 100644 --- a/stylesheets/MeoDadmNamingVerification.xslt +++ b/stylesheets/MeoDadmNamingVerification.xslt @@ -102,7 +102,7 @@ <xsl:when test="not($annotationRdfsLabel = $missing) and ($IRI = concat('#',$annotationRdfsLabel))"> <xsl:text> *** error, IRI </xsl:text> <xsl:value-of select="$IRI"/> - <xsl:text> matches rdfs:label </xsl:text> + <xsl:text> identical to rdfs:label </xsl:text> <xsl:value-of select="$annotationRdfsLabel"/> <xsl:text>, expected more-descriptive label</xsl:text> <xsl:text> ***</xsl:text> @@ -112,10 +112,10 @@ <xsl:value-of select="$IRI"/> <xsl:text> is longer than rdfs:label </xsl:text> <xsl:value-of select="$annotationRdfsLabel"/> - <xsl:text>, expected more-descriptive label</xsl:text> + <xsl:text>, instead expected more-descriptive label</xsl:text> <xsl:text> ***</xsl:text> </xsl:when> - <xsl:when test="not($annotationRdfsLabel = $missing) and not(starts-with($IRI,concat('#',$annotationRdfsLabel)))"> + <xsl:when test="not($annotationRdfsLabel = $missing) and not(starts-with(concat('#',$annotationRdfsLabel),$IRI))"> <xsl:text> *** error, mismatch with IRI</xsl:text> <xsl:if test="starts-with($IRI,'#') and contains($IRI,'_')"> <xsl:text>, expected </xsl:text>