Skip to content

Commit

Permalink
#5 EBA Filing Rules
Browse files Browse the repository at this point in the history
  • Loading branch information
John Nordberg committed Apr 27, 2024
1 parent 9d446dd commit cc72b69
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 25 deletions.
13 changes: 2 additions & 11 deletions eba.xslt
Original file line number Diff line number Diff line change
Expand Up @@ -295,16 +295,6 @@
</xsl:call-template>
</xsl:if>

<!-- <xsl:template match="/xbrli:xbrl/xbrli:context"> -->
<xsl:if test="@id='c2'">
<xsl:call-template name="EBAError">
<xsl:with-param name="code" select="'3.9'" />
<!-- <xsl:with-param name="context" select="exsl:node-set(namespace-uri(.))|." /> -->
<xsl:with-param name="context" select="@*" />
</xsl:call-template>
</xsl:if>
<!-- </xsl:template> -->

<xsl:apply-templates />
</xsl:template>

Expand Down Expand Up @@ -437,8 +427,9 @@
<!-- <xsl:value-of select="." /> -->
</xsl:template>

<!-- this produces the correct error but for the offending node AND all it's children -->
<xsl:template match="*">
<xsl:for-each select="namespace::node()[not(. = ../ancestor::*/namespace::node())]">
<xsl:for-each select="namespace::node()[not(. = /xbrli:xbrl/namespace::node())]">
<xsl:call-template name="EBAError">
<xsl:with-param name="code" select="'3.9'" />
<xsl:with-param name="context" select="." />
Expand Down
28 changes: 14 additions & 14 deletions report/sbp_ifrs9.xbrl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
xmlns:eba_ZZ="http://www.eba.europa.eu/xbrl/crr/dict/dom/ZZ"
xmlns:eba_IM="http://www.eba.europa.eu/xbrl/crr/dict/dom/IM"
xmlns:eba_CS="http://www.eba.europa.eu/xbrl/crr/dict/dom/CS">


<link:schemaRef xlink:type="simple"
xlink:href="http://www.eba.europa.eu/eu/fr/xbrl/crr/fws/sbp/cir-2070-2016/2023-07-31/mod/sbp_ifrs9.xsd" />
Expand All @@ -47,17 +47,6 @@
<find:filingIndicator contextRef="c1">C_118.00</find:filingIndicator>
<find:filingIndicator contextRef="c1">S_00.01</find:filingIndicator>
</find:fIndicators>
<xbrli:context xmlns:eba_dim="http://www.eba.europa.eu/xbrl/crr/dict/dim" id="c2">
<xbrli:entity id="foo">
<xbrli:identifier scheme="https://eurofiling.info/eu/rs">DUMMYLEI123456789012.CON</xbrli:identifier>
</xbrli:entity>
<xbrli:period>
<xbrli:instant>2023-12-31</xbrli:instant>
</xbrli:period>
<xbrli:scenario>
<xbrldi:explicitMember dimension="eba_dim:BAS">eba_BA:x17</xbrldi:explicitMember>
</xbrli:scenario>
</xbrli:context>
<eba_met:ei4 contextRef="c2">eba_AS:x2</eba_met:ei4>
<eba_met:ei207 contextRef="c2">eba_SC:x7</eba_met:ei207>
<xbrli:context id="c3">
Expand All @@ -83,7 +72,7 @@
</xbrli:unit>
<eba_met:mi136 unitRef="uEUR" decimals="-3" contextRef="c3">8712000</eba_met:mi136>
<eba_met:mi115 unitRef="uEUR" decimals="-3" contextRef="c3">1196000</eba_met:mi115>
<xbrli:context id="c4">
<xbrli:context xmlns:eba_dim="http://www.eba.europa.eu/xbrl/crr/dict/dim" id="c4">
<xbrli:entity>
<xbrli:identifier scheme="https://eurofiling.info/eu/rs">DUMMYLEI123456789012.CON</xbrli:identifier>
</xbrli:entity>
Expand Down Expand Up @@ -9078,4 +9067,15 @@
</xbrli:context>
<eba_met:pi471 unitRef="uPURE" decimals="4" contextRef="c479">52.33</eba_met:pi471>
<eba_met:pi472 unitRef="uPURE" decimals="4" contextRef="c479">43.43</eba_met:pi472>
</xbrli:xbrl>
<xbrli:context id="c2">
<xbrli:entity>
<xbrli:identifier scheme="https://eurofiling.info/eu/rs">DUMMYLEI123456789012.CON</xbrli:identifier>
</xbrli:entity>
<xbrli:period>
<xbrli:instant>2023-12-31</xbrli:instant>
</xbrli:period>
<xbrli:scenario>
<xbrldi:explicitMember dimension="eba_dim:BAS">eba_BA:x17</xbrldi:explicitMember>
</xbrli:scenario>
</xbrli:context>
</xbrli:xbrl>

0 comments on commit cc72b69

Please sign in to comment.