Closed shaunclimbon closed 3 years ago
@mkycrb Thank you for your issue, really helps me to improve this repository. Until now i am mainly parsing SEC submissions and thus it is very helpful to get feedback from people that tried the parser with other xbrl documents.
You are correct, the parser does not parse the extended link roles defined in the taxonomy extension schema file.
I will investigate the issue and deploy a fix in the following days 👍
Describe the bug A clear and concise description of what the bug is:
Following logical expression doesn't evaluate as expected: https://github.com/manusimidt/xbrl_parser/blob/e72c683166d41de1a5eaca87e52971aa5dda7df7/xbrl_parser/taxonomy.py#L179 This is because
bool(elr_definition)
returns false even if Element.find doesn't return None. I assume becauselen(elr_definition)
evaluates to 0 (or maybe__bool__
).To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen:
Screenshots If applicable, add screenshots to help explain your problem: