removed the array constraint from the xml view constructor.

The array constraint stopped Config class being passed to xml view constructor.