[issue7139] ElementTree: Incorrect serialization of end-of-line characters in attribute values
Moriyoshi Koizumi
report at bugs.python.org
Wed Nov 11 18:38:15 CET 2009
Moriyoshi Koizumi <mozo+python at mozo.jp> added the comment:
@ezio.melotti
Yes, it works flawlessly as for parsing.
Fixing this would actually break the current behavior, but I believe
this is how it should work.
It seems #5752 pretty much says the same thing.
@effbot
As specified in 2.11 End-of-Line Handling [2], any variants of EOL
characters should have been normalized into single #xa before it
actually gets parsed, so bare #xd characters would never appear as they
are amongst parsed information items.
[2] http://www.w3.org/TR/xml/#sec-line-ends
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7139>
_______________________________________
More information about the Python-bugs-list
mailing list