> Dave,
> 
> Thanks!  No rush. 
> 
> There's another small problem we've encountered: when specifying
> the --silence option the generated code misses commenting-out
> some lines.  Here's a snippet comprising incorrectly generated
> code:
> 
> def parse(inFilename):
>     doc = minidom.parse(inFilename)
>     rootNode = doc.documentElement
>     rootObj = supermod.message.factory()
>     rootObj.build(rootNode)
>     # Enable Python to collect the space used by the DOM.
>     doc = None
>     #sys.stdout.write('<?xml version="1.0" ?>\n')
>     #rootObj.export(sys.stdout, 0, name_="message",
>         namespacedef_='')
>     doc = None
>     return rootObj
> 

[snip]

> We currently fix this manually by commenting out the namespacedef
> line.

Lou -

Thanks for letting me know about this one.  So, now I've fixed that silence
option.

I'll try to upload a new version tomorrow.

- Dave
------------------------------------------------------------------------------
_______________________________________________
generateds-users mailing list
generateds-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/generateds-users

Reply via email to