#79 copy documentation from element to undocumented anonymous type

PyXB 1.2.0
closed
None
fixed
Generation Model
minor
PyXB 1.1.1
defect
2012-11-04
2010-02-20
No

If an anonymous type is used to define the content of an element, that type has no documentation annotation, and the containing element does have a documentation annotation, it would be nice to use the element's documentation as the Python docstring for the generated class associated with the element's content, since the element itself cannot have documentation associated with it.

Discussion

  • Peter A. Bigot

    Peter A. Bigot - 2010-05-30
    • status changed from new to accepted
    • milestone changed from PyXB 1.1.2 to PyXB 1.1.3
     
  • Peter A. Bigot

    Peter A. Bigot - 2011-09-09
    • milestone changed from PyXB 1.1.3 to PyXB 1.1.4
     
  • Peter A. Bigot

    Peter A. Bigot - 2012-06-13
    • milestone changed from PyXB 1.1.4 to PyXB 1.1.5
     
  • Peter A. Bigot

    Peter A. Bigot - 2012-08-30
    • milestone changed from PyXB 1.1.5 to PyXB 1.2.0
     
  • Peter A. Bigot

    Peter A. Bigot - 2012-11-04
    • status changed from accepted to closed
    • resolution set to fixed

    Fixed for 1.2.x in {{{
    commit 77c7e057a991a8f51f4251dc4b8d35245d1ba1a3
    Author: Peter A. Bigot <pab@‌>
    Date: Fri Nov 2 06:24:38 2012 -0500

    trac/79: copy documentation from element to undocumented anonymous type

    Also propagate schema documentation into complex types, which wasn't done
    before.

    }}}

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks