sp_fr: allow 3 unbounded elements (#31595)
This commit is contained in:
parent
23acaa3bd7
commit
7fcf7d082e
|
@ -254,7 +254,7 @@ class Schema(object):
|
|||
if 'name' in ctype:
|
||||
name = ctype['name']
|
||||
max_occurs = ctype.get('max_occurs', 1)
|
||||
max_occurs = 2 if max_occurs == 'unbounded' else max_occurs
|
||||
max_occurs = 3 if max_occurs == 'unbounded' else max_occurs
|
||||
if 'type' in ctype:
|
||||
if name and not is_type:
|
||||
path = path + [name]
|
||||
|
|
Loading…
Reference in New Issue