Skip to content

Conversation

@ChristopheHD
Copy link
Owner

The html.parser in BeautifulSoup4 has become stricter in recent versions, and now fails to parse the EEP.xml file correctly.

This commit switches the parser to lxml, which is more robust for XML files. The lxml library is also added as a dependency.

This fixes issue #15.

The html.parser in BeautifulSoup4 has become stricter in recent versions,
and now fails to parse the EEP.xml file correctly.

This commit switches the parser to `lxml`, which is more robust for XML files.
The `lxml` library is also added as a dependency.

This fixes issue #15.
@ChristopheHD ChristopheHD linked an issue Aug 10, 2025 that may be closed by this pull request
@coveralls
Copy link

Pull Request Test Coverage Report for Build 16859659216

Details

  • 0 of 2 (0.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 38.475%

Changes Missing Coverage Covered Lines Changed/Added Lines %
enocean/protocol/eep.py 0 2 0.0%
Totals Coverage Status
Change from base Build 15911566144: 0.0%
Covered Lines: 454
Relevant Lines: 1180

💛 - Coveralls

@ChristopheHD
Copy link
Owner Author

Will use Python XML library instead of lxml, see #17.

@ChristopheHD ChristopheHD deleted the fix-xml-parser branch August 10, 2025 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

XMLParsedAsHTMLWarning

3 participants