check if your XML file is valid?
Use any online XML validator tool to validate it.
The error might come when the XML is not in a valid format.
As per the error message
FATAL: Error at (file E:/ETL/XplayMani/Belk/20210811_093613_Catalog_utf8.xml, line 2, char 145 ): Fatal error encountered during schema scan.
and the Associated line that throws the error
The Char 145 indicates the end of the line after >, There is no Line feed after the tag.
How this XML is generated. Check the XML in notepad ++ to see all characters ( Show All Characters)
The end of the line might or some unrecognized characters might be available in the XML that makes the XML invalid.
XML format might be valid but additional characters prior to and after the tag makes the file invalid. Verify the same.
Hi Mani ,
Adding to the above please have a look on the below article for reference of character code and validator reference.
You can also attach the xml file in case you are still having any issues post validation .