diff --git a/ontologies/MissionExecutionOntology3.1-DADM.tests.txt b/ontologies/MissionExecutionOntology3.1-DADM.tests.txt index 98ca9e6d963958a34fda8488f8e4e8a4ae5e056d..d8c26ef3b916409ef0cc06621325949e46a4c1a9 100644 --- a/ontologies/MissionExecutionOntology3.1-DADM.tests.txt +++ b/ontologies/MissionExecutionOntology3.1-DADM.tests.txt @@ -18,7 +18,7 @@ This study identifies the dimensions of autonomous decision-making (DADMs), name Class IRI='#DADM' owl:subClassOf #Abbreviations - rdfs:label Dimension of Autonomous Decision-Making (DADM) *** error, mismatch with IRI *** + rdfs:label Dimension of Autonomous Decision-Making (DADM) owl:versionInfo page 100 rdfs:comment "(missing)" *** error, missing rdfs:comment description *** diff --git a/stylesheets/MeoDadmNamingVerification.xslt b/stylesheets/MeoDadmNamingVerification.xslt index c5cf23cf505c25f0da23c5384e4dc33e0bc1caaf..4ef1712a1f255da3903ae6db8c309edac6c8f710 100644 --- a/stylesheets/MeoDadmNamingVerification.xslt +++ b/stylesheets/MeoDadmNamingVerification.xslt @@ -115,7 +115,7 @@ <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(concat('#',$annotationRdfsLabel),$IRI))"> + <xsl:when test="not($annotationRdfsLabel = $missing) and not($IRI = '#DADM') 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>