uktrade / stream-read-xbrl

Python package to parse Companies House accounts data in a streaming way
https://stream-read-xbrl.docs.trade.gov.uk/
MIT License
17 stars 2 forks source link

fix: respect "exclude" tags, especially in dates #133

Closed santoshdasa12345 closed 1 year ago

santoshdasa12345 commented 1 year ago

The XBRL "exclude" tags were not being respected, causing date parsing failures in balance sheet dates. This didn't use to be an issue because in earlier versions we weren't using "itertext()" to find all the text of an element.