#47 need support for pattern facet

PyXB 0.7.3
closed
None
fixed
Content model
major
PyXB 0.7.1
defect
2009-09-06
2009-08-24
No

Bindings are incorrectly accepting a string instead of a float in a union type because the pattern facet is not being applied. Cf. gml:doubleOrNilReasonType.

Discussion

  • Peter A. Bigot

    Peter A. Bigot - 2009-09-06
    • status changed from new to closed
    • resolution set to fixed

    Fixed in [2018]. One catch: pattern facets only apply to simple type definitions that use a Python string (including unicode) as their base representation. Can't reconstruct the lexical representation for other things (like dateTime).

     
  • Peter A. Bigot

    Peter A. Bigot - 2009-09-06
    • milestone changed from PyXB 0.7.2 to PyXB 0.7.3
     

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

Sign up for the SourceForge newsletter:





No, thanks