dgunning / edgartools

Navigate SEC Edgar data in Python
MIT License
411 stars 83 forks source link

HTML parsing failed due to unusual namespace #72

Closed dgunning closed 1 month ago

dgunning commented 1 month ago

There is an issue parsing the header for this filing. https://www.sec.gov/Archives/edgar/data/27574/000114544324000056/dgefii-20231130.htm

filing = Filing(form='485BPOS', filing_date='2024-03-28', company='DELAWARE GROUP EQUITY FUNDS II', cik=27574, accession_no='0001145443-24-000056')

The namespace declarations are unusual , particularly xmlns:i="http://www.xbrl.org/2003/instance" xmlns:xbrldi="http://xbrl.org/2006/xbrldi

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:rr="http://xbrl.sec.gov/rr/2023" xmlns:dtr-types="http://www.xbrl.org/dtr/type/2022-03-31" xmlns:dei="http://xbrl.sec.gov/dei/2023" xmlns:fil="http://www.delawareinvestments.com/20231130" xmlns:i="http://www.xbrl.org/2003/instance" xmlns:xbrldi="http://xbrl.org/2006/xbrldi" xmlns:iso4217="http://www.xbrl.org/2003/iso4217" xmlns:ix="http://www.xbrl.org/2013/inlineXBRL" xmlns:ixt="http://www.xbrl.org/inlineXBRL/transformation/2015-02-26" xmlns:ixt-sec="http://www.sec.gov/inlineXBRL/transformation/2015-08-31" xmlns:utr="http://www.xbrl.org/2009/utr" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
dgunning commented 1 month ago

Fixed