[issue36233] xml ElementTree quotation marks of xml version string

2019-03-11 Thread Johann Krauter


Johann Krauter  added the comment:

The xml parser of OpenCV (3.4.5) in C++ is not able to load such xml file.

--

___
Python tracker 
<https://bugs.python.org/issue36233>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue36233] xml ElementTree quotation marks of xml version string

2019-03-08 Thread Johann Krauter


New submission from Johann Krauter :

I have the problem, that a xml file is save with the following xml declaration: 
 
instead of 


I would propose to change the line number 769 in the ElementTree.py to: 
write("\n" % (
declared_encoding,))

--
components: XML
files: ElementTree.py
messages: 337463
nosy: Photoniker
priority: normal
severity: normal
status: open
title: xml ElementTree quotation marks of xml version string
type: behavior
versions: Python 3.7
Added file: https://bugs.python.org/file48193/ElementTree.py

___
Python tracker 
<https://bugs.python.org/issue36233>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com