Menu

#231 generated dateTime facets lack module qualifier on constructor

PyXB 1.2.4
closed
None
fixed
Generation Model
major
PyXB 1.2.3
defect
2014-04-26
2014-04-23
No

See: https://sourceforge.net/p/pyxb/discussion/956708/thread/38e42f1c/

This is the same problem addressed for decimal() in bd80e44205c2269

Discussion

  • Peter A. Bigot

    Peter A. Bigot - 2014-04-23
    • status changed from new to closed
    • resolution set to fixed

    Fixed in next branch in this commit.

    commit dbf8a212e1b533b7c613186c238a722d684f188b
    Author: Peter A. Bigot <pab@pabigot.com>
    Date:   Wed Apr 23 00:00:03 2014 -0500
    
        trac/231: generated facets produce invalid python code
    
        Mark data types where repr(value) produces a reference to a constructor
        and/or fails to generate a parseable Python expression, and instead
        create python literals that construct their values from the XSD literal
        representation.
    
     
  • Peter A. Bigot

    Peter A. Bigot - 2014-04-26
    • milestone set to PyXB 1.2.4
     
MongoDB Logo MongoDB