> Dear Dave Kuhlman, > I used the following schema: > sysid.xsd > > to generate the following python using generateDS.py: > sysidMessage.py > > When using sysidMessage.py to generate XML I am finding that the XML > generated has boolean attributes with their first letter capitalized > (the python standard) as opposed to all lowercase (the XML standard). > As a result, the validating XML parser I am using with Java is flagging > the python generated XML as invalid. > Could you please point me to where in generateDS.py I should look to fix > this? > Thank you very much, > > Iris Cheung
Iris - Which version of generateDS.py are you using? Within the last week or so, I uploaded a new version with changes that do lower-case True and False. Here is the comment from the README: Version 1.14a (06/03/2008): [snip] * This patch adds proper xs:boolean reading and writing to generateDS. "true" and "false" values in the XML will become True and False in Python, and will be written back out as "true" and "false", respectively. (These changes were thanks to James Athey.) So, I believe that version 1.14a will fix your problem. Please let me know if this is not the case. Hope this helps. - Dave -- Dave Kuhlman http://www.rexx.com/~dkuhlman ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ generateds-users mailing list generateds-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/generateds-users