Arelle xbrl-linkbase-2003-12-31.xsd has errors

95 views
Skip to first unread message

Gbadebo Ekanola

unread,
Feb 20, 2024, 1:13:39 PMFeb 20
to Arelle-users
Good day,

I recently installed the arelle 2.23.6 (64bit AMD 64) on Windows 11. 

I tried validating a sample xbrl instance document but got the error attached:

It appears the xbrl-linkbase-2003-12-31.xsd file that came with installation has errors.

The file referenced was identified as ../../../Program Files/Arelle/xlink

1. There is no xlink folder in ../../../Program Files/Arelle
2.  The xbrl-linkbase-2003-12-31.xsd referenced is actually located in C:\Program Files\Arelle\lib\arelle\resources\cache\http\www.xbrl.org\2003

Please assist.

Thank you






Arelle_error.jpg

Austin Matherne

unread,
Feb 21, 2024, 10:22:05 AMFeb 21
to Arelle-users
Hi,

Do you get this error when opening any XBRL taxonomy or report, or with a specific taxonomy or report?

Kind regards,
Austin Matherne

Gbadebo Ekanola

unread,
Feb 21, 2024, 12:17:34 PMFeb 21
to Arelle-users
Hello Austine,

I got the error while opening the attached sample empty-instance.xml document for a start.

Thanks Austin

empty-instance.xml

Austin Matherne

unread,
Feb 21, 2024, 12:45:37 PMFeb 21
to Arelle-users
Are you by chance attempting to open that file from Program Files\Arelle\empty-instance.xml?

Gbadebo Ekanola

unread,
Feb 21, 2024, 2:02:07 PMFeb 21
to Arelle-users
No Austin. the  empty-instance.xml is located in a different folder named C:\Source\xbrl_cbn\SampleCompany-2003-10-15.

So why is it now referring to   Program Files\Arelle?

It's a puzzle



Austin Matherne

unread,
Feb 21, 2024, 2:07:21 PMFeb 21
to Arelle-users
Is there a ifrs-ci-2003-10-15.xsd schema file in C:\Source\xbrl_cbn\SampleCompany-2003-10-15?

Gbadebo Ekanola

unread,
Feb 21, 2024, 4:01:04 PMFeb 21
to Arelle-users
Yes. there is an ifrs-ci-2003-10-15.xsd file in that folder.

I have attached it herewith

ifrs-ci-2003-10-15.xsd

Austin Matherne

unread,
Feb 21, 2024, 4:13:01 PMFeb 21
to Arelle-users
That schema includes an import for xbrl-linkbase-2003-12-31.xsd in the same directory:
<import namespace="http://www.xbrl.org/2003/linkbase" schemaLocation="xbrl-linkbase-2003-12-31.xsd"/>

Is there a copy of xbrl-linkbase-2003-12-31.xsd in that same directory and is it valid/identical to the version hosted by xbrl.org?

Gbadebo Ekanola

unread,
Feb 21, 2024, 4:26:40 PMFeb 21
to Arelle-users
Yes that file is there as well. It is attached herewith
xbrl-linkbase-2003-12-31.xsd

Austin Matherne

unread,
Feb 21, 2024, 4:47:59 PMFeb 21
to Arelle-users
That schema has an import for xlink-2003-12-31.xsd. Does that schema file exist in the same directory?:
<import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink-2003-12-31.xsd"/>

Gbadebo Ekanola

unread,
Feb 21, 2024, 5:19:25 PMFeb 21
to Arelle-users
I just even copied the https://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd file there. The error persists.

The first error Arelle complains of while loading is that

[xmlSchema:syntax] Space required after the Public Identifier, xlink, line 1, column 49 - ../../../Program Files/Arelle/xlink , xbrl-linkbase-2003-12-31.xsd 25

1. there is no xlink sub-folder in the installation directory at all. Why is it now referrencing a non existent folder? 
2. Why is it complaining of the https://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd file I just copied it to the same folder as the empty-instace.xml file I'm trying to work with?

Austin Matherne

unread,
Feb 22, 2024, 10:43:03 AMFeb 22
to Arelle-users
There was a bug in remapping xbrl-linkbase-2003-12-31.xsd when a taxonomy points to an invalid location. This should be fixed in the latest release (2.23.10) just published today.

Kind regards,
Austin Matherne

Austin Matherne

unread,
Feb 22, 2024, 10:45:07 AMFeb 22
to Arelle-users
Sorry, I meant to say "xlink-2003-12-31.xsd" not "xbrl-linkbase-2003-12-31.xsd". Too many similarly named schemas 😅

Gbadebo Ekanola

unread,
Feb 22, 2024, 11:48:41 PMFeb 22
to Arelle-users
Thanks so much Austin. The latest Arelle release 2.23.10 has fixed the issue. Thanks Untitled.jpgfixed the issue.

Austin Matherne

unread,
Feb 23, 2024, 3:13:21 PMFeb 23
to Arelle-users
Glad to hear it's resolved and thanks for reporting the issue!

Gbadebo Ekanola

unread,
Feb 24, 2024, 8:33:36 PMFeb 24
to Arelle-users
Yes Austin, I was delighted the first issue was resolved.

That happen in the loading phase however 

I tested the Validation  phase of the same file, it brought out the issues as depicted melow. 

It is still pointing to ifrs-ci-2003-10-15.xsdempty-instance validation errors.png

Please assist.

Thank you for the feedback so far. Thanks.

Regards

Ekons

Austin Matherne

unread,
Feb 25, 2024, 12:04:36 AMFeb 25
to Arelle-users
The file before was named empty-instance.xml. Is SampleIFRSXBRL.xml the same file renamed?

Gbadebo Ekanola

unread,
Feb 26, 2024, 7:18:39 AMFeb 26
to Arelle-users
Yes Austin. The  SampleIFRSXBRL.xml is the same as the empty-instance.xml sent intially.

The errors earlier reported happens in the loading phase. I just tried the Validation and brought out the errors depicted below.

Basically, it is still complaining of the http://www.xbrl.org/taxonomy/int/fr/ifrs/ci/2003-10-15 ifrs-ci-2003-10-15.xsd schema fileempty-instance validation errors.png

It is complaining of Element value error for QName attribute group

 

Please assist

 

Thank you

 

 

Austin Matherne

unread,
Feb 26, 2024, 12:44:44 PMFeb 26
to Arelle-users
Looking at the ifrs-ci-2003-10-15.xsd schema you provided, these errors appear appropriate. It references an "xbrli" namespace prefix, but doesn't define a namespace for the prefix. The schema isn't valid.
Reply all
Reply to author
Forward
0 new messages