Hi

I have the requirement to produce python classes from the (stupidly complex) 
finance-industry standard Fpml xsd. So I naturally turn to generateDS.py :-), 
and get the following error

C:\swig_stuff\fpml>generateDS.py -o fpml_main.py fpml-main-4-3.xsd
Traceback (most recent call last):
  File "C:\swig_stuff\fpml\generateDS.py", line 4089, in <module>
    main()
  File "C:\swig_stuff\fpml\generateDS.py", line 4085, in main
    processIncludes, superModule=superModule)
  File "C:\swig_stuff\fpml\generateDS.py", line 4001, in parseAndGenerate
    root.annotate()
AttributeError: 'NoneType' object has no attribute 'annotate'

I'm on XP for this test, and Python 2.5, using generateDS-1.14c, libxml2 
2.6.30, lxml 2.1.1, ...

I noted that there has been recent discussion of this (or similar) error 
(http://sourceforge.net/mailarchive/message.php?msg_name=7487035.137911213356244994.JavaMail.servlet%40kundenserver)
 under "Modifications in the NameSpace Support". 

However the above error arises even if --no-process-includes is set. 

If you'd like the xsd, please email me offline and I'll zip the whole bunch of 
stuff up!

Thanks

Tim








*****************************************************************************
This communication is sent by the Standard Bank Plc or one of its affiliates
The registered details of Standard Bank Plc are: 
Registered in England No. 2130447, Registered Office 25 Dowgate Hill London 
EC4R 2SB
Authorised and Regulated by the Financial Services Authority. 

More information on Standard Bank is available at www.standardbank.com
 
Everything in this email and any attachments relating to the official business 
of Standard Bank Group Limited and any or all subsidiaries, the Company, is 
proprietary to the Company. It is confidential, legally privileged and 
protected by relevant laws. The Company does not own and endorse any other 
content. Views and opinions are those of the sender unless clearly stated as 
being that of the Company.
 
The person or persons addressed in this email are the sole authorised 
recipient. Please notify the sender immediately if it has unintentionally, or 
inadvertently reached you and do not read, disclose or use the content in any 
way and delete this e-mail from your system.  

The Company cannot ensure that the integrity of this email has beenmaintained 
nor that it is free of errors, virus, interception or interference. The sender 
therefore does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission. If verification 
is required please request a hard-copy version. This message is provided for 
informational purposes and should not be construed as a solicitation or offer 
to buy or sell any securities or related financial instruments.

*****************************************************************************
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
generateds-users mailing list
generateds-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/generateds-users

Reply via email to