Skip to content

Commit

Permalink
fixed filtering issue for CVs in SHACL
Browse files Browse the repository at this point in the history
  • Loading branch information
Dragos0000 committed Feb 4, 2025
1 parent c84e671 commit 9e0fed1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/shacl-shape-lib/elements-shacl-shape.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@
<!-- Get the enumeration's compact URI -->
<xsl:variable name="enumerationCompactURI" select="$enumeration/@name"/>

<xsl:if test="$enumerationCompactURI and $enableGenerationOfConceptSchemes">
<xsl:if test="$enumerationCompactURI and $enableGenerationOfSkosConcept">
<xsl:variable name="shapeURI" select="f:buildPropertyShapeURI($enumerationCompactURI, 'itemShape')"/>
<xsl:variable name="inSchemeURI" select="f:buildURIfromLexicalQName($enumerationCompactURI)"/>

Expand Down Expand Up @@ -432,7 +432,7 @@

<!-- Generate RDF descriptions based on the constraint level -->
<xsl:choose>
<xsl:when test="$enumerationConstraintLevel = 'restrictive' and $enableGenerationOfConceptSchemes">
<xsl:when test="$enumerationConstraintLevel = 'restrictive' and $enableGenerationOfSkosConcept">
<!-- Iterate over dependencies -->

<xsl:variable name="nodeUri" select="f:buildPropertyShapeURI($enumerationCompactURI, 'itemShape')"/>
Expand Down

0 comments on commit 9e0fed1

Please sign in to comment.