Skip to content

Commit

Permalink
Fix typos in compression
Browse files Browse the repository at this point in the history
Signed-off-by: ruffsl <[email protected]>
  • Loading branch information
ruffsl committed Aug 7, 2019
1 parent 3533ec2 commit 1854b7e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions sros2/sros2/policy/templates/dds/demangle.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
@reply, '|',
@request)"/>
<xsl:key name="topics_compatible" match="topics" use="concat(
@puplish, '|',
@publish, '|',
@subscribe)"/>

<xsl:template mode="compress" match="profile">
Expand All @@ -133,7 +133,7 @@
@request)))]"/>
<xsl:apply-templates mode="sibling-recurse" select="
topics[generate-id(.) = generate-id(key('topics_compatible', concat(
@puplish, '|',
@publish, '|',
@subscribe)))]"/>
</xsl:copy>
</xsl:template>
Expand All @@ -142,9 +142,9 @@
<xsl:copy>
<xsl:apply-templates mode="compress" select="node() | @*" />
<xsl:apply-templates mode="compress" select="
following-sibling::services[@call = current()/@call]/node() " />
following-sibling::actions[@call = current()/@call]/node() " />
<xsl:apply-templates mode="compress" select="
following-sibling::services[@execute = current()/@execute]/node() " />
following-sibling::actions[@execute = current()/@execute]/node() " />
</xsl:copy>
</xsl:template>
<xsl:template match="services" mode="sibling-recurse">
Expand All @@ -160,9 +160,9 @@
<xsl:copy>
<xsl:apply-templates mode="compress" select="node() | @*" />
<xsl:apply-templates mode="compress" select="
following-sibling::services[@puplish = current()/@puplish]/node() " />
following-sibling::topics[@publish = current()/@publish]/node() " />
<xsl:apply-templates mode="compress" select="
following-sibling::services[@subscribe = current()/@subscribe]/node() " />
following-sibling::topics[@subscribe = current()/@subscribe]/node() " />
</xsl:copy>
</xsl:template>

Expand Down

0 comments on commit 1854b7e

Please sign in to comment.