XML export cannot be imported. Not a valid AE import file.

book

Article ID: 210437

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine CA Automic One Automation CA Automic Operations Manager

Issue/Introduction

A xml export cannot be imported The message shown is Not a valid AE import file.

Cause

The xml file was modified with Notepad++ and did not meet xml standards. The & character was not provided properly.

Environment

Release : 12.3

Component : AUTOMATION ENGINE

Resolution

The export file was modified displaying variable names like:

<component con="0" enc="0" type="2" value="&MDS_START_DATE_PLUS14#" xmlName="prompt_10"/>
<component con="0" enc="0" type="2" value="&MDS_CUTOFF_DATE#" xmlName="prompt_11"/>

The correct way to specify the & character in an xml file is:

<component con="0" enc="0" type="2" value="&amp;MDS_START_DATE_PLUS14#" xmlName="prompt_10"/>
<component con="0" enc="0" type="2" value="&amp;MDS_CUTOFF_DATE#" xmlName="prompt_11"/>

Attachments