We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Exception opening Inline iXBRL document - can't find xsd

I get an error when I try to open an iXBRL document using the example CSharp application

An unhandled exception of type ‘Aspose.Finance.Xbrl.XbrlException’ occurred in Aspose.Finance.dll
Can’t find https://xbrl.frc.org.uk/FRS-102/2019-01-01/FRS-102-2019-01-01.xsd

What can I do to resolve this issue?

@allanjardine,

Could you please zip and attach XBRL document to evaluate your issue. We will check your issue soon.

AJ.zip (12.0 KB)

It work’s ok with your online converter Convert IXBRL To XBRL Online Free App - IXBRL To XBRL converter (aspose.app)

@allanjardine,

I tested using latest version of Aspose.Finance for .NET 22.5 in .NET Core project and it works fine. Please try using the sample code as I tested using your file and it works ok:
e.g.
Sample code:

XbrlDocument document = new XbrlDocument("f:\\test2\\aj.html");

Hi @Amjad_Sahi

That code does run but the file is an iXbrl document. Can you try this code please

InlineXbrlDocument iXBRLDocument = new InlineXbrlDocument(“f:\test2\aj.html”);

@allanjardine,

Thanks for providing further details.

Please notice, I am able to reproduce the issue as you mentioned by using the following line of code with your file. I found an exception “Can’t find [https://xbrl.frc.org.uk/FRS-102/2019-01-01/FRS-102-2019-01-01.xsd” on opening the Inline iXBRL document:
e.g.
Sample code:

InlineXbrlDocument iXBRLDocument = new InlineXbrlDocument(“f:\test2\aj.html”); 

I have logged a ticket with an id “FINANCENET-169” for your issue. We will look into it soon.

Once we have an update on it, we will let you know here.

Thank you @Amjad_Sahi

@allanjardine,

You are welcome.

The issues you have found earlier (filed as FINANCENET-169) have been fixed in this update. This message was posted using Bugs notification tool by WilliamShen