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
[car...@localhost generateDS-2.1a]$ *generateDS.py -a "xtce:"
--namespacedef='xmlns:xtce="http://www.omg.org/space/xtce" xmlns="
http://www.w3.org/2001/XMLSchema" targetNamespace="
http://www.omg.org/space/xtce" elementFormDefault="qualified"
attributeFormDefault="unqualified" version="1.1' --super=test_api_super.py
-o test_api.py -s test_sub.py xtce_space_systemsV1_1.xsd *
Traceback (most recent call last):
File "/usr/bin/generateDS.py", line 4533, in <module>
main()
File "/usr/bin/generateDS.py", line 4527, in main
processIncludes, superModule=superModule)
File "/usr/bin/generateDS.py", line 4286, in parseAndGenerate
root.annotate()
AttributeError: 'NoneType' object has no attribute 'annotate'
[car...@localhost generateDS-2.1a]$ *generateDS.py -a "xtce:"
--super=test_api_super.py -o test_api.py -s test_sub.py
*xtce_space_systemsV1_1.xsd
Traceback (most recent call last):
File "/usr/bin/generateDS.py", line 4533, in <module>
main()
File "/usr/bin/generateDS.py", line 4527, in main
processIncludes, superModule=superModule)
File "/usr/bin/generateDS.py", line 4286, in parseAndGenerate
root.annotate()
AttributeError: 'NoneType' object has no attribute 'annotate'
[car...@localhost generateDS-2.1a]$
------------------------------------------------------------------------------
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