Hi there,
I was glad to find this tool. Works very well and saved me a lot of
time. I've found 2 small issues and here's a simplified example to
reproduce them:

    http://paste.pocoo.org/show/261259/

To reproduce it, generate the classes using the XSD in the first
snippet. Then parse the XML in the second snippet and export the
resulting object. The result will be what you see in the third
snippet:

1) The exported root tag is wrong: it uses the element type instead of the name.
2) The empty element got a 'None' content.

I fixed issue 2 patching quote_xml():

def quote_xml(inStr):
    if not inStr:
        return ''
    #...

But after hacking around I couldn't find a fix for issue 1. Maybe I'm
doing something wrong, or are these real issues?

Thanks for the awesome work on this library. It is very useful. :)

-- rodrigo

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
generateds-users mailing list
generateds-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/generateds-users

Reply via email to