On Fri, May 29, 2015 at 04:24:46PM +0000, Emil Nordling wrote: > Thanks for the patch, I'll put it to good use. =)
Emil, You are welcome. > Do you have feeling > for when the next release is due? If it's of interest, I can do that. I just now pushed my latest changes, including the patch I sent to you earlier, to Bitbucket: https://bitbucket.org/dkuhlman/generateds/overview I'll try to add a new release to the Python Package Index and SourceForge later this afternoon. I'll send an announcement to this list when I've finished. Dave > Regards, > /Emil > > On Thu, May 28, 2015 at 5:53 PM Dave Kuhlman > <[1]dkuhl...@davekuhlman.org> wrote: > > On Thu, May 28, 2015 at 10:18:06AM +0000, Emil Nordling wrote: > > Hi Dave, > > I couldn't find an issue tracker for generateDS, so I'm writing > you like this i > > nstead. I apologize in advance. > > > > I got this: > > NameError: global name 'XMLParser_import_library' is not defined > > when I parsed an erroneous xml-document with code generated with > generateDS 2.1 > > 5b.Ä > > > > > > It seems to come from line 5233 in generateDS.py: > > 5232 def raise_parse_error(node, msg): > > 5233   if XMLParser_import_library == XMLParser_import_lxml: > Emil, > Thanks for catching this. It looks like that is code left over > from > when generateDS.py was able to use ElementTree, whereas currently > Lxml is required. So, I've fixed it by removing that test. > I've attached a patch file, in case you have not already fixed your > copy of generateDS.py. This fix will be in the next version of > generateDS.py. > Thanks again. > > > > [...], > > where both names are used without being defined. > > > > In all else: Thank you for a very nice library! > Great. I appreciate the comment. Hope it's helpful. > Dave > -- > Dave Kuhlman > [2]http://www.davekuhlman.org > > References > > 1. mailto:dkuhl...@davekuhlman.org > 2. http://www.davekuhlman.org/ -- Dave Kuhlman http://www.davekuhlman.org ------------------------------------------------------------------------------ _______________________________________________ generateds-users mailing list generateds-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/generateds-users