GithubHelp home page GithubHelp logo

Comments (7)

dgm9704 avatar dgm9704 commented on July 23, 2024

from xoxo.

FabioBo avatar FabioBo commented on July 23, 2024

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

from xoxo.

dgm9704 avatar dgm9704 commented on July 23, 2024

from xoxo.

dgm9704 avatar dgm9704 commented on July 23, 2024

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)

from xoxo.

dgm9704 avatar dgm9704 commented on July 23, 2024

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:

  • encode any content (not part of the xbrl) that is markup (html) with function such as HTMLEncode ?
  • enclose any markup content in CDATA section ?
  • check if the specifications for the specific taxonomy / reporting framework have some clues as how to handle this content (component has only been tested with EBA and EIOPA ITS and some SBR)
  • modify Diwen.Xbrl to better understand that specific type of XBRL reporting ?
    I need to spend a few hours on my day job, but will get back to this.

from xoxo.

FabioBo avatar FabioBo commented on July 23, 2024

from xoxo.

FabioBo avatar FabioBo commented on July 23, 2024

Hi, currently we have "replaced" &nbsp 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("&nbsp", ""); var first = Instance.FromXml(xmlString);
we have removed "&nbsp" from original document and replace Instance.FromFile with Instance.FromXml
Thank you

from xoxo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.