sp_fr: allow 3 unbounded elements (#31595)

This commit is contained in:
Benjamin Dauvergne 2019-04-30 17:51:26 +02:00
parent 23acaa3bd7
commit 7fcf7d082e
1 changed files with 1 additions and 1 deletions

View File

@ -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]