There is a new version of generateDS.py.

As you can see from the
notes below, there are quite a few changes, and some of them are
quite significant (for example, the re-write of
process_includes.py).

So, definitely hang on to your old version, in case there have been
any regressions.

And, of course, let me know if you have comments, suggestions,
comments, etc.

I'll be away traveling for two weeks starting next Monday.  But, I'll
do follow-up when I get back.

Here are the notes from the README:

    Version 2.2a (9/14/2010)
      * Changes for coding consistency -- Used wrt() pervasively
        instead of outfile.write().
      * Re-write of process_includes.py -- It now handles
        xs:include/xs:import elements that include a file from another
        directory that includes a file relative to that directory that
        include a file across HTTP, and so on.
      * The command line option --search-path is no longer supported.  I
        don't think that behavior was standard for XML schema anyway.
        Removed support for search_path from generateDS.py,
        process_includes.py, and generateds_gui.py.
      * Added support for specifying additional name mappings in a config
        file: generateds_config.py.  That file, if it exists, must be
        located where it can be imported by generateDS.py and should
        contain a dictionary named NameTable.  For example, the following
        maps the name "range" to "rangeType" so that if the schema defines
        a complexType "range", generateDS.py will generate a class named
        "rangeType":
            NameTable = {
                'range': 'rangeType',
                }
        See the doc for more on this.
      * Instead of using the lower() function from the string module,
        added a function to the GeneratedsSuper class and used the string
        method.  Prepares for Python 3.0
      * Added "gds_" prefix to all methods in class GeneratedsSuper to
        make possible name clashes less likely.
      * Fixes to exporting elements with mixed="true" -- Reduced extra
        whitespace.
      * Fixes to building (capturing) attribute values for elements with
        anyAttribute="..." -- Eliminated capture of duplicate attribute
        values.


You can find it in the usual places:

- Python Package Index -- http://pypi.python.org/pypi/generateDS/
- Source Forge -- http://sourceforge.net/projects/generateds/
- My Web site --
- http://www.rexx.com/~dkuhlman/generateDS-2.1d.tar.gz


If you comments, suggestions, or problems, please send them along.

- Dave


-- 


Dave Kuhlman
http://www.rexx.com/~dkuhlman

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
generateds-users mailing list
generateds-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/generateds-users

Reply via email to