Re: [Generateds-users] Error converting generateDS object to etree

2019-06-17 Thread Van Huynh Le
Hi Dave, Thank you for the quick fix. I tested with the sample Rotation.xsd and another (fairly complex) schema. GenerateDS works well for both cases. Kind regards, Van Huynh Le On 6/16/19 6:30 PM, Dave Kuhlman wrote: I've made a fix. The problem was that for simple types that are a restr

Re: [Generateds-users] Error converting generateDS object to etree

2019-06-16 Thread Dave Kuhlman
I've made a fix. The problem was that for simple types that are a restriction on (extension of) another simple type, we needed to key off of the base simple type. So, for example in the case you reported, we needed to find out that the attribute was a `float` rather than a `degree`. I've pushed

Re: [Generateds-users] Error converting generateDS object to etree

2019-06-12 Thread Dave Kuhlman
Van Huynh Le, Thank you for reporting this problem. Yes, this is a good place to discuss generateDS issues. It's been a while since I've worked on the to_etree stuff. I'll take a look. Thank you for providing the detailed description and the sample code to reproduce the problem. Dave On Wed,