lxml can produce invalid XML
Bug #502967 reported by
Matthias Klose
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxml |
Fix Released
|
Medium
|
scoder | ||
lxml (Debian) |
Fix Released
|
Unknown
|
Bug Description
$ cat buggy.py
import sys
import lxml.etree as et
root = et.Element('root')
root.text = u'''\u1234\x07'''
et.ElementTree(
$ python buggy.py | xmllint -
-:1: parser error : PCDATA invalid Char value 7
<root>&
^
Changed in lxml (Debian): | |
status: | Unknown → Confirmed |
Changed in lxml (Debian): | |
status: | Confirmed → Fix Released |
To post a comment you must log in.
Fixed in trunk rev. 70396:
https:/ /codespeak. net/viewvc/ ?view=rev& revision= 70396