Dave Kuhlman <[EMAIL PROTECTED]> writes: > > James Athey <[EMAIL PROTECTED]> writes: > > > > > 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. > > > > James - > > Great. Thanks for these fixes and enhancements. > > I've applied your three patches from this and two previous messages. > Give me a > day or two to do some testing and then I'll upload a new version > containing your > patches.
OK. I've added James's patches. Here is the change log, which I pretty much copied from James's messages: Version 1.14a (06/03/2008): * In generateBuildFn, the generated code formerly would skip the children of a base class in an extension class if the extension class has children of its own. This patch fixes that problem. (The buildChildren call for the base class is inside a "if hasChildren == 0" block.) * The export functions formerly would output the attributes and children of the derived classes before those of the base class, where the XSL spec specifies that the base class elements are earlier than derived elements in a sequence. This patch corrects the generation order. * 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. The new version containing these changes is generateDS-1.14a.tar.gz. You can find it at: http://www.rexx.com/~dkuhlman/generateDS-1.14a.tar.gz http://www.rexx.com/~dkuhlman/generateDS.html And, also at Source Forge: http://sourceforge.net/projects/generateds/ Please let me know if you have problems or suggestions about these changes. So, now I'll start looking at the changes from Guillaume and Chris. - Dave ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ generateds-users mailing list generateds-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/generateds-users