These scripts use the Python v2.2 API of RaptorXML+XBRL Server.
This script implements additional validation rules specified in the EBA XBRL Filing Rules (Version 4.1) document.
The following script parameters can be additionally specified:
| parameter | description |
|---|---|
max-string-length |
Issue warnings if length of fact content exceeds the given limit (default=100) |
max-id-length |
Issue warnings if length of id attribute values exceeds the given limit (default=50) |
Validate a single filing
raptorxmlxbrl valxbrl --script=eba_validation.py instance.xbrl
Validate a single filing with additional options
raptorxmlxbrl valxbrl --script=eba_validation.py --script-param=max-id-length:10 instance.xbrl
Using Altova RaptorXML+XBRL Server with XMLSpy client:
- do one of
- Copy
eba_validation.pyto the Altova RaptorXML Server script directoryetc/scripts/(defaultC:\Program Files\Altova\RaptorXMLXBRLServer2016\etc\scripts\on Windows) - Edit the
<server.script-root-dir>tag in theetc/server_config.xmlAltova RaptorXML Server script directory
- Copy
- Start Altova RaptorXML+XBRL server
- Start Altova XMLSpy, open
Tools|Manage Raptor Servers...and connect to the running server - Create a new configuration and rename it to e.g. "EBA CHECKS"
- Select the XBRL Instance property page and then set the script property to
eba_validation.py - Select the new "EBA CHECKS" configuration in
Tools|Raptor Servers and Configurations - Open a EBA instance file
- Validate instance with
XML|Validate XML on Server(Ctrl+F8)