Howdy,

I've run into a snag when attempting to create the super and sub class modules from the JBoss's jpdl-3.2.xsd file, which I will attached to ease the search for the file. :)

The first problem I ran into was with the element "priorityType" on line 441, the general problem I've noticed is that generateDS.py can not work with a simpleType element with a union of other simpleType elements. The error caused by this is "SimpleTypeElement instance has no attribute 'addChild'".

My quick fix was to convert the element into a complexType to solve the issue.

To complicate the matters I have also noticed that the element "assignment" on line 363 can not be generated, this error is returned instead, "Element assignment extension chain contains mixed and non-mixed content. Not generated"

My quick fix was to remove the extension that wrapped the attributes.

Because of the project I am working on, I need to try and avoid making these kind of changes if at all possible.

Thank you for your time,
Andrew Dorrycott


Confidentiality Notice: This e-mail message (including any attached or
embedded documents) is intended for the exclusive and confidential use of the
individual or entity to which this message is addressed, and unless otherwise
expressly indicated, is confidential and privileged information of Rackspace.
Any dissemination, distribution or copying of the enclosed material is 
prohibited.
If you receive this transmission in error, please notify us immediately by 
e-mail
at ab...@rackspace.com, and delete the original message.
Your cooperation is appreciated.

Attachment: jpdl-3.2.xsd
Description: XML document

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
generateds-users mailing list
generateds-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/generateds-users

Reply via email to