Support for attributes array elements and support for complex extensions
with array elements.
Merge pull request #300 from ankush-garg/errJsAttach

Attributes in array elements and support for complex extensions with array elements