﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
72	Handling cardinality upper than 1	djay		"Consider an input named {{{A}}}, if the cardinality of {{{A}}} was set (through the {{{maxOccurs}}} value in the zcfg) to a value > 1 then the ZOO-Kernel should provide a specific array structure.


The idea is to provide the inputs as presente in the following:

{{{
{
 ""A"": {
   ""name"": ""A"",
   ""value"": [""<val1>"",""<val2>"",...,""<valN>""],
   ""mimeType"": [""<mimeType1>"",""<mimeType2>"",...,""<mimeTypeN>""],
   ""isArray"": ""true""
 }
}
}}}

The specific ""isArray"" map will be automatically added by the ZOO-Kernel for inputs provided more than once in the request and getting a {{{maxOccurs}}} value set to a value upper than 1 in the ZCFG file.

For Python, Java and Javascript language wethe ZOO-Kernel shall be directly provide the data as an Array in the dictionnary, !HasMap or Javascript Object representing the inputs.

For C language we may think of using json-c library to handle storage and access to the the inputs value.
"	enhancement	closed	major		zoo-kernel		fixed		matthias.lendholt@… djay
