[Generateds-users] generateDS and fixed values for attributes

2018-02-09 Thread Sanja Abbott
Hi, I wonder if you could implement 'fixed' values for attributes in your generateDS. My schema has an attribute called 'version': However, the python script that generateDS creates has no means to use this fixed value. Tha

Re: [Generateds-users] generateDS and fixed values for attributes

2018-03-04 Thread Sanja Abbott
I apologize for wasting your cycles. I like to put off pushing a change to Bitbucket and pypi.python.org until I have some confidence that we want to keep it. I need to come up with a more reliable way to pass along a temporary change for testing. Maybe this (producing a distribution file) is

Re: [Generateds-users] generateDS and fixed values for attributes

2018-03-04 Thread Sanja Abbott
Sanja On 19/02/2018 22:36, Dave Kuhlman wrote: Sanja, If I understand you correctly, we are getting different results. I have the following in my test XML schema: And, the constructor that is generated by generateDS.py is the following: def __init__(self, garden_name='dave\&#x

Re: [Generateds-users] generateDS and fixed values for attributes

2018-03-04 Thread Sanja Abbott
nerated modules (so that you can see whether you are able to produce something equivalent). I've attached them in separate messages, in case of email size limitations. Please let me know your results. I apologize for being slow on this. Dave On Tue, Feb 27, 2018 at 04:27:32PM +, Sanja Ab