So based on Tanjas check we have:


So based on Tanjas check we have:

| from xml.dom import minidom

Should be standard Python

| from xml.dom.ext.reader import Sax2

Should be standard Python

| from xml.dom.ext import PrettyPrint

No idea if this is PyXML only or not.

| import xml.sax
| from xml.sax.saxutils import escape as _xmlescape
| from xml.sax.handler import ContentHandler
| from xml.sax import make_parser

Again, standard Python

| import xml.etree.cElementTree as ET
| from xml.etree import cElementTree as ElementTree
| from xml.etree.cElementTree import ElementTree, 
| from xml.etree import cElementTree as ElementTree

External. We should check for all compatible implementations:
ElementTree, cElementTree and lxml.

| from xml.utils import qp_xml

That is PyXML only. I added it years ago because a DOM was too complex
for me. I guess that can be replaced by the ElementTree API.

> If the problem is with qp_xml then is not used except in 
> src/util/fxdparser.py
[...]
> However, it looks as if the fxdparser module is used in quite a few modules:
[...]
> This means that it is a non-trivial job to remove the dependency on PyXML.

My fault by use qp_xml in the first place. But qp_xml itself only
depends on the expat parser which should be standard Python. Maybe
include this file directly into Freevo? This would remove pyXML as
dependency and keep the current code.


Dischi

-- 
"Actors," said Granny, witheringly. "As if the world weren't full
of enough history without inventing more."
        -- (Terry Pratchett, Wyrd Sisters)

Attachment: pgpPXmPhgey2T.pgp
Description: PGP signature

-------------------------------------------------------------------------
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