Comments (6)
It is also failing for this submissions:
- https://www.sec.gov/Archives/edgar/data/828916/000155837021001992/wri-20201231x10k.htm
- https://www.sec.gov/Archives/edgar/data/1043337/000155837021001646/sri-20201231x10k.htm
This submissions were created with: Toppan Merrill Bridge iXBRL 9.6.7713.40453 and not workviva.
Looks like the library fails to parse some submissions from this XBRL creator.
from py-xbrl.
Yes of course, sorry i forgot.
from py-xbrl.
Thank you!
I will check this evening if i can find the issue.
from py-xbrl.
The issue is that the parser fails when parsing the context because the taxonomy could not be found.
However it should throw a "TaxonomyNotFound" Exception no AttributeError.
Furthermore i will check why the taxonomy could not be imported in this case.
The context:
<context id="c77_From1Dec2022To31Dec2022_HK_SubsequentEventMember">
<entity>
<identifier scheme="http://www.sec.gov/CIK">0000747540</identifier>
<segment>
<xbrldi:explicitMember dimension="us-gaap:DeferredRevenueArrangementTypeAxis">**pf0:HK**</xbrldi:explicitMember>
<xbrldi:explicitMember dimension="us-gaap:SubsequentEventTypeAxis">us-gaap:SubsequentEventMember</xbrldi:explicitMember>
</segment>
</entity>
<period>
<startDate>2022-12-01</startDate>
<endDate>2022-12-31</endDate>
</period>
</context>
The namespace:
xmlns:pf0="http://xbrl.sec.gov/country/2020-01-31"
In this particular case the schema for the namespace was not defined, but it is a standard taxonomy and should be added to https://github.com/manusimidt/xbrl_parser/blob/34952a6a1185a81d767c591d3a42f53423b558d5/xbrl/taxonomy.py#L160-L188
from py-xbrl.
@Pablompg Thank you for the issue!
The error occurred due to a small copy-and-paste error in the code
from py-xbrl.
Thank you for solving the issue @manusimidt . Would you consider a new release with this issue solved?
from py-xbrl.
Related Issues (20)
- Need path or reference to source file of a Linkbase HOT 2
- Standardised Financial Data HOT 5
- Equals method for all fact classes HOT 1
- Solution to frequently missing taxonomy specifications in UK submissions HOT 21
- Any way to get textual labels? HOT 9
- Missing fact from ixbrl HOT 8
- Date parsing fails
- "Explicit Member"s missing HOT 3
- Add support for Datetime in context duration. HOT 3
- KeyError: 'Unit_sqft' HOT 2
- Add support for the ixt-sec transformations. HOT 1
- unresolved schemas HOT 12
- Not well-formed (invalid token) error for ixblr. HOT 11
- parse_ixbrl should add encoding argument HOT 2
- Be nicer to submissions that do not follow the XBRL standard 100% HOT 6
- New 2022 taxonomies HOT 4
- Bug: instance.json('my-file.json') HOT 1
- Unclear +/- sign of some facts HOT 17
- Space in url creates issues when requesting a taxonomy
- Potential arg bug in transformations __init__ HOT 2
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 py-xbrl.