Comments (7)
from xoxo.
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.
from xoxo.
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.
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.
from xoxo.
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
from xoxo.
Related Issues (20)
- Instance comparison throws if things are not initialized
- Problems installing nuget package because file extension(s) missing from license files
- extensionmethods should be in their own namespace
- Namespaces of unused units aren't removed
- FI-SBR output does not match input HOT 1
- Performance issues adding a large number of Contexts
- How to add attributes to fact? HOT 7
- Allow string formatting of reported differences for data points etc.
- Fails to parse ExplicitMember with whitespace in value HOT 8
- Unit.Measure should be XmlQualifiedName instead of string HOT 1
- No support for Inline XBRL HOT 1
- No way to validate inline xbrl HOT 1
- Drop support for .NET Framework 4.5.2 HOT 1
- [Question] how to add an explicit member with namespace specified HOT 5
- Support for XBRL-CSV HOT 4
- Unused namespace 'xbrldi' for instance with no explicit or typed members
- ScenarioComparisonMessage has extra set of parentheses HOT 1
- Bug with namespaces used in the value field of a segment explicit member HOT 3
- Use System.Text.Json instead of string handling
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xoxo.