>From: Madura Anushanga <madura....@gmail.com> >Sent: Tuesday, September 6, 2011 1:06 AM > > > I used generateds to map a xsd file to a python module, I don't > see minLength, maxLength..etc facets being added to the module, I > don't want to write separate validators for each type since there > are alot of types that use these facets, does generateds support > these? If not can I add the functionality in a non duplicative > manner? > thanks,
Madura - There is no direct support for facets. However, you might want to look at this section of the documentation: http://www.rexx.com/~dkuhlman/generateDS.html#simpletype-and-validators If you read through that section, you will find that you can provide a directory with validators for each different simple type. It's not very automatic. But, it might be enough to give you what you need, with a little work, of course. Thanks for the question. And, please let me know if I can answer any more questions. - Dave -- Dave Kuhlman http://www.rexx.com/~dkuhlman ------------------------------------------------------------------------------ Doing More with Less: The Next Generation Virtual Desktop What are the key obstacles that have prevented many mid-market businesses from deploying virtual desktops? How do next-generation virtual desktops provide companies an easier-to-deploy, easier-to-manage and more affordable virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/ _______________________________________________ generateds-users mailing list generateds-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/generateds-users