xpath with big files

2008-05-21 Thread Vladimir Kropylev
Hi, I've encountered a problem when trying to use lxml.etree.xpath with big (63Mb) file. It returns empty list on any request. Is there any restriction on file size for lxml.etree.xpath? This is what I do: f=open(filename) tree = etree.parse(f) f.close() r = tree.xpath('//image') print(r) it

please remove me from this list

2008-05-04 Thread Vladimir Kropylev
please remove me from this list, thanks -- http://mail.python.org/mailman/listinfo/python-list

Re: PROBLEMS WITH PYTHON IN SOME VARIABLE,FUNCTIONS,ETC.

2008-04-08 Thread Vladimir Kropylev
yes, ths is known problem. I can just recomend you to use Linux or FreeBSD, though cygwin maybe also possible 2008/4/8, [EMAIL PROTECTED] [EMAIL PROTECTED]: I am using Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v. 1310 32 bit (Intel)] on win32 with IDLE 1.2.1 My O/S is Windows XP

generateDS problem: __init__ of base class is not called (processing linked xsd files)

2008-03-06 Thread Vladimir Kropylev
Hi, Is it possible to have __init__ of superclass called when superclass and subclass are defined in different XSD files? There's no problem when super and subclass are defined within single XSD file. In another words, can generateDS correctly process schema, described in a set of linked xsd

xsd, data binding. Modern approach?

2008-02-29 Thread Vladimir Kropylev
Hi, What is the most actual approach to python XML data-binding? The answers given by google seam to be rather outdated. Can't believe nothing's changed since 2003. To be concrete, i've faced the following task: I HAVE: - XSD schema (a huge collection of *.xsd files) TODO: - create python