[New-bugs-announce] [issue38011] xml.dom.pulldom splits text data at buffer size when parsing from file
Noam Sturmwind
report at bugs.python.org
Mon Sep 2 12:25:02 EDT 2019
New submission from Noam Sturmwind <noam at sturmwind.ca>:
Python 3.7.4
When parsing a file using xml.dom.pulldom.parse(), if the parser is in the middle of text data when default_bufsize is reached it will split the text into multiple DOM Text nodes.
This breaks code expecting that reads the text data using node.firstChild.data.
----------
components: Library (Lib)
files: test.py
messages: 351021
nosy: nsturmwind
priority: normal
severity: normal
status: open
title: xml.dom.pulldom splits text data at buffer size when parsing from file
type: behavior
versions: Python 3.7
Added file: https://bugs.python.org/file48581/test.py
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38011>
_______________________________________
More information about the New-bugs-announce
mailing list