Re: [Generateds-users] Abstract classes and name confusion in generateDS.py

2018-02-09 Thread Dave Kuhlman
-- Dave Kuhlman http://www.davekuhlman.org --- Begin Message --- …and again there was a delay, longer this time: sorry. My first try at testing your changes failed, but I suspected a cockpit error on my end. Proving that it was my error took longer than it should have, but in the end, yes: the

Re: [Generateds-users] Abstract classes and name confusion in generateDS.py

2018-01-29 Thread Dave Kuhlman
Rob, If I understand your description of the issue correctly, this change should fix that. Instead of merely adding the namespace prefix to the signature of the generated export function, this fix also adds the namespace prefix definition, too. In other words, in addition to adding "xxx:" to the

Re: [Generateds-users] Abstract classes and name confusion in generateDS.py

2018-01-24 Thread Dave Kuhlman
Rob, Thanks for explaining the problem. That helps. Give me a couple of days to look into it. The change that I sent to you yesterday adds code that collects a dictionary of the name and namespace prefix of each xs:element and xs:complexType. So, it should be reasonably easy to also collect th

Re: [Generateds-users] Abstract classes and name confusion in generateDS.py

2018-01-23 Thread Rob Calvert
Thanks for continuing to investigate my namespace issue. I tried out the new generateDS today. The good news is that some of the changes in the generated oadr_20b.py corresponded to workarounds that I’d been making by hand. But I’m still running into at least one of the issues that I'd mentioned