Skip to content

Commit

Permalink
trigger control for comments renamed variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Dragos0000 committed Jan 14, 2025
1 parent 53d10c1 commit f6c70f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/owl-core-lib/elements-owl-core.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
Selector to run core layer transfomation rules for commnents </xd:desc>
</xd:doc>
<xsl:template match="ownedComment[@xmi:type = 'uml:Comment']">
<xsl:if test="$generateComments">
<xsl:if test="$commentsGeneration">
<xsl:variable name="commentText" select="./@body"/>
<xsl:for-each select="./annotatedElement/@xmi:idref">
<xsl:variable name="elementFound" select="f:getElementByIdRef(., root(.))"/>
Expand Down
3 changes: 1 addition & 2 deletions test/ePO-default-config/config-parameters.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,8 @@
<xsl:variable name="generateReusedConceptsOWLrestrictions" select="fn:true()"/>
<xsl:variable name="generateReusedConceptsGlossary" select="fn:true()"/>

<xsl:variable name="commentsGeneration" select="fn:false()"/>
<xsl:variable name="commentsGeneration" select="fn:true()"/>
<xsl:variable name="commentProperty" select="'skos:editorialNote'"/>
<xsl:variable name="generateComments" select="fn:false()"/>

<!-- This variable control if Object and Realisation are generated -->
<xsl:variable name="generateObjectsAndRealisations" select="fn:false()"/>
Expand Down

0 comments on commit f6c70f1

Please sign in to comment.