Hi Dave, I have a problem when i issue a generateDS command on the xsd available at http://communities.vmware.com/static/vcloudapi/vcloud-api-v0.8-xsd-files.zip. I am using python2.4 + pyXML + lxml for xsd generation. I have tried this in python2.5 + lxml but i still get the following traceback when i run python generateDS.py -o vcloud.py -s vcloud.py vcloud/vcloud.xsd
Traceback (most recent call last): File "generateDS.py", line 4404, in ? main() File "generateDS.py", line 4399, in main processIncludes, superModule=superModule) File "generateDS.py", line 4225, in parseAndGenerate parser.parse(infile) File "C:\Python24\Lib\site-packages\_xmlplus\sax\expatreader.py", line 109, in parse xmlreader.IncrementalParser.parse(self, source) File "C:\Python24\Lib\site-packages\_xmlplus\sax\xmlreader.py", line 123, in parse self.feed(buffer) File "C:\Python24\Lib\site-packages\_xmlplus\sax\expatreader.py", line 216, in feed self._parser.Parse(data, isFinal) File "C:\Python24\Lib\site-packages\_xmlplus\sax\expatreader.py", line 312, in start_element self._cont_handler.startElement(name, AttributesImpl(attrs)) File "generateDS.py", line 1189, in startElement self.stack[-1].unionOf.append(member) AttributeError: XschemaElement instance has no attribute 'unionOf' Thanks in advance, Chang ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ generateds-users mailing list generateds-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/generateds-users