Skip to content

Commit

Permalink
case insensitive tag names (from govwiki@5d065f4)
Browse files Browse the repository at this point in the history
  • Loading branch information
drkane committed Jul 9, 2023
1 parent 1961244 commit cd4b421
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ixbrlparse/__about__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.7.0"
__version__ = "0.7.1"
2 changes: 1 addition & 1 deletion src/ixbrlparse/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def __init__(self, soup: BeautifulSoup, raise_on_error: bool = True) -> None: #

def _get_schema(self) -> None:
self.schema = None
schema_tag = self.soup.find(["link:schemaRef", "schemaRef"])
schema_tag = self.soup.find(["link:schemaRef", "schemaRef", "link:schemaref", "schemaref"])
if isinstance(schema_tag, Tag) and schema_tag.get("xlink:href"):
schema = schema_tag["xlink:href"]
if isinstance(schema, str):
Expand Down

0 comments on commit cd4b421

Please sign in to comment.