#179 invalid assertion on all model group with minOccurs=0

PyXB 1.2.1
closed
None
fixed
Binding model
major
PyXB 1.2.0
defect
2012-12-04
2012-12-03
No

There is an improper(?) diagnostic about All Group Limited potentially failing when an all model group with minOccurs=0 is used.

Discussion

  • Peter A. Bigot

    Peter A. Bigot - 2012-12-04
    • status changed from new to accepted
    • summary changed from all model group with minOccurs=1 produces assertion at generation time to invalid assertion on all model group with minOccurs=0
     
  • Peter A. Bigot

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

    Fixed in branch next for 1.2.1

    commit a1ef38e95d29a322f651cc66092101d14923632a
    Author: Peter A. Bigot <pab@‌>
    Date: Mon Dec 3 18:06:47 2012 -0600

    trac/179: invalid assertion on all model group with minOccurs=0

    Nothing wrong with this construct, so permit non-consuming transitions
    until we have reason not to do so. This fixes the reported problem, but
    diagnoses a second problem.

     

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

Sign up for the SourceForge newsletter:





No, thanks