# Import tags via XML breaks arrays, json works

**URL:** <https://forum.inductiveautomation.com/t/import-tags-via-xml-breaks-arrays-json-works/36493>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [July 8, 2020, 3:28pm UTC](https://forum.inductiveautomation.com/t/import-tags-via-xml-breaks-arrays-json-works/36493 "2020-07-08T15:28:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jlandwerlen](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jlandwerlen](https://forum.inductiveautomation.com/u/jlandwerlen)\
**Post date:** [July 8, 2020, 3:28pm UTC](https://forum.inductiveautomation.com/t/import-tags-via-xml-breaks-arrays-json-works/36493/1 "2020-07-08T15:28:27Z")

</div>

Replicated with v8.0.10 and v8.0.14. While importing tags using XML it will change the array length to 1 and delete the values. JSON works fine. I can export good tags and import right back in and it will break the tags.

Attached is test DataType [tagsArrayDataType.json](https://forum.inductiveautomation.com/uploads/short-url/eJqioVu9vBctaxTQ4kckjIF7twn.json) (1.3 KB)

Have a call into IA support as well.
