value error when parsing XML

Diez B. Roggisch deetsNOSPAM at web.de
Sat Jul 31 15:50:27 CEST 2004


Ajay Brar wrote:

> can someone please tell me how i can workaround this problem. the script
> executes fine when the xml and dtd files are in user/. But i don't
> really want to put them there.
> any ideas?


Since you didn't say how you actually access your document - sax or dom - I
can't give you a definite answer. But for sax, try an entityresolver. For
dom, I've no idea, but I bet there is a solution, too.

-- 
Regards,

Diez B. Roggisch



More information about the Python-list mailing list