Raymond Hettinger added the comment:

FWIW, I would like to have a way to ignore namespaces.

For many day-to-day problems (parsing Microsoft Excel
files saved in an XML format or parsing RSS feeds),
this would be a nice simplification.

I teach Python for a living and have found that it is
common for namespaces to be an obstacle for people
trying to get something done.

Giving them the following answer is unsatisfactory response to legitimate 
needs: 
"""
And it's pretty trivial to pre-process the entire tree by stripping all 
namespaces from it the intention is really to do namespace agnostic processing. 
However, in my experience, most people who want to do that haven't actually 
understood namespaces (although, admittedly, sometimes it's those who designed 
the XML format who didn't understand namespaces ...).
"""

----------
nosy: +rhettinger

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

Reply via email to