#145 identify/preserve schema encoding in generated bindings

PyXB 2.0.0
accepted
None
Generation Model
major
PyXB 1.1.3
defect
2012-06-14
2012-06-14
Peter A. Bigot
No

When Python 3 support is added and identifiers can be in unicode there should be option(s) to preserve the original schema's encoding within the generated binding, both in string values and in identifiers.

In Python 2, all identifiers have to be ASCII, so at most the string values could be kept in the original encoding, but since PyXB does spit out unicode it should make the encoding explicit in the binding header.

Discussion

  • Peter A. Bigot
    Peter A. Bigot
    2012-06-14

    • status changed from new to accepted
    • component changed from Binding model to Generation Model
    • milestone changed from PyXB 1.1.4 to PyXB 2.0.0
     
  • Peter A. Bigot
    Peter A. Bigot
    2012-06-14

    Ticket now applies only to Python 3; see #146 for Python 2.