[issue20928] xml.etree.ElementInclude does not include nested xincludes

2018-02-18 Thread James Bailey

James Bailey <james.bai...@gmail.com> added the comment:

Agreed with ruffsl's concerns about the overly aggressive detection of infinite 
recursion.

I also wonder if the hrefs should be normalized or canonized for the check? The 
check may miss infinite recursions if the hrefs happen to be written in 
non-matching but equivalent forms. Ex: relative versus absolute paths.

--

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



[issue20928] xml.etree.ElementInclude does not include nested xincludes

2014-03-14 Thread James Bailey

New submission from James Bailey:

After xml.etree.ElementInclude.include inserts an Xinclude'd href it does not 
walk the just-inserted subtree to see if it contains any Xincludes itself.

I think the behaviour should be modified to walk the included subtree and 
perform any Xincludes contained.

--
components: Library (Lib), XML
messages: 213589
nosy: James.Bailey
priority: normal
severity: normal
status: open
title: xml.etree.ElementInclude does not include nested xincludes
type: behavior
versions: Python 2.7

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