Trouble getting started

Feb 26, 2016 at 10:28 AM
Edited Feb 26, 2016 at 10:29 AM
Hi all,

I'm trying to process XBRL with Gepsio but get stuck at the first attempt.
I downloaded several examples from here: http://www.ifrs.org/xbrl/resources/Pages/xbrl-illustrative-examples.aspx
These zips contain several files (.xsd, .xml and .xbrl), that I tried to open all, but I either get 0 XBRL fragments or validation errors.
The error on the .xbrl file is "Type 'http://www.xbrl.org/2003/instance:monetaryItemType' is not declared." I would expect files from IFRS themselves to be valid?..
Also tried files from here but same deal (0 fragments): http://www.xbrl.org/taxonomy/int/fr/ias/ci/pfs/2002-11-15/Samples.htm
Could someone point out what I doing wrong here?
Using Gepsio v2.1.0.10 through Nuget , here's my code:

static void Main(string[] args) {
            foreach (var f in Directory.GetFiles(@"H:\Visual Studio 2013\Projects\XBRL\XBRL\SME data")) {
                var xdoc = new XbrlDocument();
                try {
                    xdoc.Load(f);
                    Console.WriteLine("{0} fragments in  {1}", xdoc.XbrlFragments.Count, f);
                }
                catch (Exception e) {
                    Console.WriteLine("Error in {0} : {1}", f, e.Message);
                }
            }
        }
Many thanks to whoever can help me afloat.
Feb 26, 2016 at 1:35 PM
Let's try and walk through some things to help you:
  • The only kinds of files that you should be passing into the Load() method are the actual XBRL instances -- the XML documents with the <xbrl> tags. Gepsio will figure out everything else.
  • After you call Load(), check the document's IsValid property. If that value is false, then the document may have some validation errors. Check the document's ValidationErrors collection to see what might have gone wrong.
If you find a document where IsValid is true and there are no fragments, please reply with the URL of the document you're trying to load and I will be happy to take a look at it for you.

Thank you for trying Gepsio!
Feb 26, 2016 at 3:36 PM
Hi Jeff,

Many thanks for your time.

The xbrl file I try to load is the (only) .xbrl file in this zipfile: http://www.ifrs.org/XBRL/IFRS-Taxonomy/2014/Documents/example2_2014-03-05.zip

The thing is, it throws and exception instead of completing the load. I would expect examples from IFRS to validate..

Do you have a link to a canonical file I could work with? I've been googling xbrl example file (and variantions) but am coming up with surprisingly little... Think I'm missing something here.

Thanks,

GJ