Re: [lxml] How to deal with XMLSchema IOError?
27 Apr
2012
27 Apr
'12
12:28 p.m.
W dniu 27 kwietnia 2012 11:44 użytkownik Werner F. Bruhin < werner.bruhin@free.fr> napisał:
On 27/04/2012 09:58, Piotr Oh wrote:
Hi
How to check for errors when loading XMLSchema file?
schema=etree.XMLSchema(file=**polonSchemaFile)
What about checking if polonSchemaFile exists before you call etree?
Werner
Well, this is of course possible, but requires more typing, and I have to forget about this nice feature of file_like_objects as params. I'd like to have both. P.
4381
Age (days ago)
4381
Last active (days ago)
0 comments
1 participants
participants (1)
-
Piotr Oh