[issue41900] XML C14N serialisation fails with default namespace

2020-10-03 Thread Stefan Behnel


Change by Stefan Behnel :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

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



[issue41900] XML C14N serialisation fails with default namespace

2020-10-03 Thread Stefan Behnel


Stefan Behnel  added the comment:


New changeset a0f2b664335eb689abdecc677e09a193f503af59 by Miss Skeleton (bot) 
in branch '3.9':
bpo-41900: C14N 2.0 serialisation failed for unprefixed attributes when a 
default namespace was defined. (GH-22474) (GH-22507)
https://github.com/python/cpython/commit/a0f2b664335eb689abdecc677e09a193f503af59


--

___
Python tracker 

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



[issue41900] XML C14N serialisation fails with default namespace

2020-10-03 Thread Stefan Behnel


Stefan Behnel  added the comment:


New changeset cfed5343331350c5737b464970a31f7588319e8b by Miss Skeleton (bot) 
in branch '3.8':
bpo-41900: C14N 2.0 serialisation failed for unprefixed attributes when a 
default namespace was defined. (GH-22474) (GH-22508)
https://github.com/python/cpython/commit/cfed5343331350c5737b464970a31f7588319e8b


--

___
Python tracker 

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



[issue41900] XML C14N serialisation fails with default namespace

2020-10-03 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 1.0 -> 2.0
pull_requests: +21517
pull_request: https://github.com/python/cpython/pull/22507

___
Python tracker 

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



[issue41900] XML C14N serialisation fails with default namespace

2020-10-03 Thread Stefan Behnel


Stefan Behnel  added the comment:


New changeset 6a412c94b6b68e7e3632562dc7358a12ffd1447f by scoder in branch 
'master':
bpo-41900: C14N 2.0 serialisation failed for unprefixed attributes when a 
default namespace was defined. (GH-22474)
https://github.com/python/cpython/commit/6a412c94b6b68e7e3632562dc7358a12ffd1447f


--

___
Python tracker 

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



[issue41900] XML C14N serialisation fails with default namespace

2020-10-03 Thread miss-islington


Change by miss-islington :


--
pull_requests: +21518
pull_request: https://github.com/python/cpython/pull/22508

___
Python tracker 

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



[issue41900] XML C14N serialisation fails with default namespace

2020-10-01 Thread Stefan Behnel


Change by Stefan Behnel :


--
keywords: +patch
pull_requests: +21493
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/22474

___
Python tracker 

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



[issue41900] XML C14N serialisation fails with default namespace

2020-10-01 Thread Stefan Behnel


New submission from Stefan Behnel :

import xml.etree.ElementTree as ET
xml="""
http://soap.sforce.com/2006/04/metadata;>

"""
print(ET.canonicalize(xml))

Fails with:
ValueError: Namespace "" is not declared in scope
when trying to build the QName of the unnamespaced "targets" attribute.

Originally reported for lxml here:
https://bugs.launchpad.net/lxml/+bug/1869455

--
components: XML
messages: 377743
nosy: scoder
priority: normal
severity: normal
stage: needs patch
status: open
title: XML C14N serialisation fails with default namespace
type: behavior
versions: Python 3.10, Python 3.8, Python 3.9

___
Python tracker 

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