Currently there are 4 attributes that can have multiple values:
Currently the service may return multiple values for these attributes. For Gordon Smith to support them properly they would be much better returned as a list in the format
The service layer should be modified to convert attributes that can be repeated into that format.
To help that there are two versions of the attributes - WaX and WaXList, the idea is that wudetails will convert multiple instances of WaX into a single instance of WaXList. There is a new function: getListAttribute which returns the attr for the list form - if the attribute can occur multiple times.
See processing of WaDependency/WaDependencyList in new PR for an example.