SAP Knowledge Base Article - Preview

3444600 - Message "error on line 2 at column 6: XML declaration allowed only at the start of the document" is displayed when opening a XML template file of a Migration Object

Symptom

  1. When trying to open the downloaded XML template file of a Migration Object with the Microsoft Edge browser, it throws the following error:
    "error on line 2 at column 6: XML declaration allowed only at the start of the document"

  2. After downloading the XML file for any Migration objects via the Migrate Your Data app, it can not be opened with below error.

    This page contains the following errors:
    error on line 406 at column 64 : Opening and ending tag mismatch: LS line 406and unparsable
    Below is a rending of the page up to the first error.

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."


Read more...

Environment

  • SAP S/4HANA
  • SAP S/4HANA Cloud Private Edition
  • SAP S/4HANA Cloud Public Edition

Product

SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA all versions

Keywords

template, migration cockpit, error, error on line 2 at column 6: XML declaration allowed only at the start of the document, migration object, EDGE, microsoft , KBA , CA-LT-MC , S/4HANA Migration Cockpit , CA-GTF-MIG , SAP S/4HANA Data Migration Cockpit Content , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.