Skip to content

Commit

Permalink
Merge pull request #178 from OP-TED/bug/floating-comment
Browse files Browse the repository at this point in the history
bug fix for floating comments
  • Loading branch information
Dragos0000 authored Aug 9, 2023
2 parents 38b793b + f5f1630 commit 8c9d187
Showing 1 changed file with 1 addition and 1 deletion.
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 @@ -39,7 +39,7 @@
<xsl:variable name="commentText" select="./@body"/>
<xsl:for-each select="./annotatedElement/@xmi:idref">
<xsl:variable name="elementFound" select="f:getElementByIdRef(.,root(.))"/>
<xsl:if test="boolean($elementFound)">
<xsl:if test="boolean($elementFound) and $elementFound/@xmi:type != 'uml:Package'">
<xsl:variable name="elementUri" select="f:buildURIFromElement($elementFound)"/>
<xsl:call-template name="coreLayerComment">
<xsl:with-param name="elementUri" select="$elementUri"/>
Expand Down

0 comments on commit 8c9d187

Please sign in to comment.