Re: [Generateds-users] Cannot parse my XML with generateDS

2009-06-24 Thread Dave Kuhlman
> From: "Lambert, Rob" > To: Dave Kuhlman > Sent: Wednesday, June 24, 2009 2:59:33 AM > Subject: RE: Cannot parse my XML with generateDS > > Hi Dave, > > So, I've changed my schema, and now the parsing seems to work on the surface. > I get some classes of Type objects in the .py file... don't se

Re: [Generateds-users] Cannot parse my XML with generateDS

2009-06-24 Thread Lambert, Rob
Hi All, I think the patch to this problem would be to change what is written in the super .py file from: line 20 try: except: ImportError, exp: ... to try: except (SyntaxError,ImportError), exp: Thanks, Rob - Robert Lambert Imperial College, Lo

Re: [Generateds-users] Cannot parse my XML with generateDS

2009-06-24 Thread Lambert, Rob
Hi Dave, Thanks very much for your swift reply. I will simplify the namespace as you suggested, and move the summary element to the top of the schema. As it is the only defined element, I was hoping the code would automatically pick it up. With regard to a simpleType of another simpleType, thi

Re: [Generateds-users] Cannot parse my XML with generateDS

2009-06-24 Thread Lambert, Rob
Hi Dave, So, I've changed my schema, and now the parsing seems to work on the surface. I get some classes of Type objects in the .py file... don't see any classes for the elements though... However, when I try to import the classes produced I get the error: File "generatedssuper.py", line 14 r