Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests are failing with recent expat versions #26

Open
mweinelt opened this issue Mar 16, 2022 · 0 comments
Open

Tests are failing with recent expat versions #26

mweinelt opened this issue Mar 16, 2022 · 0 comments

Comments

@mweinelt
Copy link

mweinelt commented Mar 16, 2022

With expat 2.4.6 we're seeing the following tests fail in jxmlease 1.0.3:

======================================================================
ERROR: test_namespace_collapse (tests.test.XMLToObjTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/jxmlease-1.0.3/tests/test.py", line 524, in test_namespace_collapse
    rv = self.parse(xml, process_namespaces=True, namespaces=namespaces)
  File "/build/jxmlease-1.0.3/jxmlease/xmlparser.py", line 326, in parse
    return Parser(**kwargs)(xml_input)
  File "/build/jxmlease-1.0.3/jxmlease/xmlparser.py", line 303, in __call__
    self._parser.Parse(xml_input, True)
xml.parsers.expat.ExpatError: out of memory: line 1, column 0

======================================================================
ERROR: test_namespace_support (tests.test.XMLToObjTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/jxmlease-1.0.3/tests/test.py", line 491, in test_namespace_support
    rv = self.parse(xml, process_namespaces=True)
  File "/build/jxmlease-1.0.3/jxmlease/xmlparser.py", line 326, in parse
    return Parser(**kwargs)(xml_input)
  File "/build/jxmlease-1.0.3/jxmlease/xmlparser.py", line 303, in __call__
    self._parser.Parse(xml_input, True)
xml.parsers.expat.ExpatError: out of memory: line 1, column 0

----------------------------------------------------------------------
Ran 98 tests in 5.740s

FAILED (errors=2, skipped=8)
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

No branches or pull requests

1 participant