Re: [pygccxml-development] Problems with reading XML files directly
Brought to you by:
mbaas,
roman_yakovenko
From: Roman Y. <rom...@gm...> - 2006-10-22 15:38:12
|
On 10/22/06, Matthias Baas <ba...@ir...> wrote: > Hi, > > I just noticed that when I read a XML file directly (by using > create_gccxml_fc()), Py++ creates an include directive where it tries to > include the XML file (which, of course, won't compile). What reader do you use? project_reader_t or source_reader_t? If first one, than please submit small test case that reproduces the problem. If second one, than it has special function to read xml generated files: read_xml_file > Another nuisance/bug is that the cache isn't used for XML files, so they > get parsed every time. By design. XML file is already a cache. It uses slightly ( :-) ) different format than cPickle. For my projects the difference between XML and cPickle is not that big. -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ |