Tanja wrote:
> Here is a short overview, where and what xml stuff is used at the moment in 
> freevo:
> (list has been created with grep xml|grep import)
> 
> ./freevo/src/audio/plugins/coversearch.py:          from xml.dom import 
> minidom
> ./freevo/src/util/amazon.py:                        from xml.dom import 
> minidom
> ./freevo/src/main.py:                               from xml.dom import 
> minidom
> 
> ./freevo/src/plugins/itv.py:                        from xml.dom.ext.reader 
> import Sax2
> ./freevo/src/plugins/headlines.py:                  from xml.dom.ext.reader 
> import Sax2
> ./freevo/src/plugins/oneclick.py:                   from xml.dom.ext.reader 
> import Sax2
> ./freevo/src/tv/plugins/tvtime.py:                  from xml.dom.ext.reader 
> import Sax2
> ./freevo/contrib/plugins/weather.py:                from xml.dom.ext.reader 
> import Sax2
> ./freevo/src/tv/plugins/tvtime.py:                  from xml.dom.ext.reader 
> import Sax2
> 
> ./freevo/src/tv/plugins/tvtime.py:                  from xml.dom.ext import 
> PrettyPrint
> 
> ./freevo/src/util/feedparser.py:                    import xml.sax
> ./freevo/src/util/feedparser.py:                    from xml.sax.saxutils 
> import escape as _xmlescape
> ./freevo/src/games/mame_cache.py:                   from xml.sax.handler 
> import ContentHandler
> ./freevo/src/games/mame_cache.py:                   from xml.sax import 
> make_parser
> 
> ./freevo/src/plugins/weatherdata.py:                import 
> xml.etree.cElementTree as ET
> ./freevo/src/video/plugins/youtube.py:              from xml.etree import 
> cElementTree as ElementTree
> ./freevo/src/tv/xmltv.py:                           from 
> xml.etree.cElementTree import ElementTree, 
> Element, SubElement, tostring
> ./freevo/src/image/plugins/flickr.py:               from xml.etree import 
> cElementTree as ElementTree
> 
> ./freevo/src/video/plugins/linkbrowser.py:          from xml.utils import 
> qp_xml
> ./freevo/src/util/fxdparser.py:                     from xml.utils import 
> qp_xml
> ./freevo/src/main.py:                               from xml.utils import 
> qp_xml
> ./freevo/src/skins/main/xml_skin.py:                from xml.utils import 
> qp_xml
> 
> 
> Probably some of these things are now inside of pythons buildin xml module...

If the problem is with qp_xml then is not used except in 
src/util/fxdparser.py

# grep -r qp_xml src/
src/skins/main/xml_skin.py:from xml.utils import qp_xml
src/video/plugins/linkbrowser.py:from xml.utils import qp_xml
src/main.py:    from xml.utils import qp_xml
src/util/fxdparser.py:from xml.utils import qp_xml
src/util/fxdparser.py:class FXDtree(qp_xml.Parser):
src/util/fxdparser.py:        qp_xml.Parser.__init__(self)

Looks as if src/video/plugins/linkbrowser.py imports it but don't use 
it, src/main.py imports it to check that it is available.

However, it looks as if the fxdparser module is used in quite a few modules:

src/fxditem.py
src/directory.py
src/www/htdocs/fileinfo.rpy
src/www/htdocs/library.rpy
src/plugins/command.py
src/tv/plugins/recordings_manager.py
src/skins/main/xml_skin.py
src/video/plugins/moviecovers.py
src/video/plugins/fxdarchive.py
src/video/plugins/cinemovies_trailers.py
src/util/extendedmeta.py
src/util/__init__.py

This means that it is a non-trivial job to remove the dependency on PyXML.

Duncan

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to