Closed FabioBo closed 7 years ago
Hello, thank you for hetting in touch, and sorry to hear that there is a problem. If the file is iXBRL then I am afraid that Diwen.Xbrl cannot handle it yet. If it is a normal XBRL file then I would see the whole file (or at least a bigger part of it) if possible so I can investigate. (Of course I dont want to see anything confidential)
— John
On 30 Nov 2017, at 0.17, FabioBo notifications@github.com wrote:
Hi, i've a xbrl file that contain this row: .... .... when we execute Instance.FromFile(....) we have this error:The entity "nbsp" was referenced, but not declared. Have you any suggestion fir this issue? Thank you
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
Hi, thank you for your quick answer. Our file is (i mean) a normal xbrl, the problem is in the keyword CommentoDisponibilitaUtilizzoPatrimonioNetto How could i send you a sample xbrl file? Thank you
If it doesn’t contain anything secret, you could upload it to filesharing site (pastebin or something) or you can send it straight to me John.nordberg@gmail.com
John
From: FabioBo Sent: Thursday, November 30, 2017 8:34 To: dgm9704/Xoxo Cc: John Nordberg; Comment Subject: Re: [dgm9704/Xoxo] The entity "nbsp" was referenced, but not declared(#58)
Hi, thank you for your quick answer. Our file is (i mean) a normal xbrl, the problem is in the keyword CommentoDisponibilitaUtilizzoPatrimonioNetto How could i send you a sample xbrl file? Thank you — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
Silly me, I was answering from my phone and didn't realize that you can attach file here to the issue. (provided that it doesn't contain anything sensitive)
I got the file now thank you. The problem is that Diwen.Xbrl sees the content of fact which is html and tries to process it like it was part of the xbrl. That is the reason for the error you see, and you would see countless others once you got past that. Options for getting around this:
Did you received xbrl file enclosed to my previous e-mail? Fabio
Da: John Nordberg [mailto:notifications@github.com] Inviato: giovedì 30 novembre 2017 08:06 A: dgm9704/Xoxo Xoxo@noreply.github.com Cc: Fabio Borghi fabio.borghi@initec.it; Author author@noreply.github.com Oggetto: Re: [dgm9704/Xoxo] The entity "nbsp" was referenced, but not declared (#58)
Silly me, I was answering from my phone and didn't realize that you can attach file here to the issue. (provided that it doesn't contain anything sensitive)
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/dgm9704/Xoxo/issues/58#issuecomment-348101418, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGNgozznZk-cENFcXqHQtmFGEi_fJ1Orks5s7lPpgaJpZM4Qvt9k.
Hi, currently we have "replaced"   from html portion of text because of we are only interested on a few reporting information and not in this text.
Here is our "workaround":
var first = Instance.FromFile(document); String xmlString = System.IO.File.ReadAllText(document); xmlString = xmlString.Replace(" ", ""); var first = Instance.FromXml(xmlString);
we have removed " " from original document and replace Instance.FromFile with Instance.FromXml
Thank you
Hi, i've a xbrl file that contain this row: .... <font size="2" face="Times New Roman"><span style="font-size: 11.0pt"> </span></font> .... when we execute Instance.FromFile(....) we have this error:The entity "nbsp" was referenced, but not declared. Have you any suggestion fir this issue? Thank you