Skip to content

Commit

Permalink
Merge pull request #36 from drkane/case-insensitive-schema-tags
Browse files Browse the repository at this point in the history
case insensitive tag names
  • Loading branch information
drkane authored Jul 9, 2023
2 parents 1961244 + cd4b421 commit eafe9f2
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 eafe9f2

Please sign in to comment.