>From: Carlos Ugarte >Sent: Wed, July 28, 2010 8:52:58 AM > >Greetings, > >I am evaluating generateDS-2.1a. >I am trying to generate classes for the schema (I copied locally and named >xtce_space_systemsV1_1.xsd) defined at >http://www.omg.org/spec/XTCE/20061101/06-11-06.xsd > >This schema is quite a bit more complex than the example. >When I try to run the tool I get the output below... >I am a relative newbie with xml. >Is this tool appropriate for such a schema ? The example xsd looks relatively >trivial. >>I am up for modifying the code if that's what it takes. > >Thanks for any help you might be able to give me on this. >
Carlos - Try using the -a command line option. I was able to generate output with the following command line: $ generateDS.py -a "" -o tmp01sup.py 06-11-06.xsd generateDS.py was not able to guess that this schema does not use a namespace prefix. After you generate the file, you might have to manually add the following at the top: # coding=utf-8 I have not run into that before. I'll look into next week. So, thanks for letting me know about this. I'm off for a couple of days of vacation. If/when you have more questions, I'll answer them when I get back. - Dave -- Dave Kuhlman http://www.rexx.com/~dkuhlman ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ generateds-users mailing list generateds-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/generateds-users