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 81c2f56 commit a700555
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
7 changes: 7 additions & 0 deletions eba.xslt
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,13 @@
</xsl:if>
</xsl:for-each>

<xsl:for-each select="//*[not(contains(name(),':'))]">
<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:call-template>
</xsl:for-each>

<xsl:apply-templates />


Expand Down
14 changes: 14 additions & 0 deletions lookup/eba-filing-rules.xml
Original file line number Diff line number Diff line change
Expand Up @@ -284,5 +284,19 @@
document.</control>
</rule>

<!-- 3.5 requires lookup -->

<!-- 3.6 TLDR -->

<!-- 3.7 unclear -->

<!-- 3.8 unclear -->

<rule>
<error_code>3.9</error_code>
<error_message>unexpectedNamespaceDeclarations</error_message>
<severity>WARNING</severity>
<control>Namespace prefixes declarations SHOULD be restricted to the document element.</control>
</rule>

</validation_rules>
4 changes: 3 additions & 1 deletion report/sbp_ifrs9.xbrl
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@
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"

<schemaRef xmlns="http://www.xbrl.org/2003/linkbase" 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" />

<xbrli:unit id="uPURE">
<xbrli:measure>xbrli:pure</xbrli:measure>
</xbrli:unit>
Expand Down

0 comments on commit a700555

Please sign in to comment.