3 Replies Latest reply on Aug 22, 2021 11:15 PM by Jharana Patra

    FATAL Error while importing XML definition

    Mani Ar Seasoned Veteran

      Hi,

       

      I am trying to create a source definition by importing the client provided XML data file.

       

      But while importing the source definition, I get the following error: I am not the XML expert and not sure what is missing here.

       

      Any help is highly appreciated please.

       

      Thanks in Advance.

       

       

      FATAL: Error at (file , line 0, char 0 ): An exception occurred! Type:NetAccessorException, Message:Could not open file: http://ssc.channeladvisor.com/files/cageneric.xsd.

      FATAL: Error at (file E:/ETL/XplayMani/Belk/20210811_093613_Catalog_utf8.xml, line 2, char 145 ): Fatal error encountered during schema scan.

       

       

      First few lines of the XML file:

       

      <?xml version="1.0" encoding="utf-8"?>

      <Offers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ssc.channeladvisor.com/files/cageneric.xsd">

      <Offer>

        <Model><![CDATA[3200109399830001]]></Model>

        <ActionURL><![CDATA[https://www.******.com/p/dockers-classic-fit-workday-khaki-smart-360-flex-pants/3200109399830001.html]]></ActionURL>

        <Age_Group/>

        <AlternateImgUrl><![CDATA[https://******.scene7.com/is/image/Belk?layer=0&src=3200109_399830001_A_250&]]></AlternateImgUrl>

        <OnlineOnly>Y</OnlineOnly>

        <Availability>No</Availability>

        <Inventory>0</Inventory>

        <Brand><![CDATA[Dockers®]]></Brand>

        <CategoryID><![CDATA[men-mens-clothing-pants]]></CategoryID>

        <CategoryPageUrl><![CDATA[https://www.*******.com/men/mens-clothing/pants/]]></CategoryPageUrl>

        <CategoryIds><![CDATA[shop-by-brand-dockers,shop-by-brand-dockers-mens-clothing,men-mens-clothing,men-mens-clothing-pants]]></CategoryIds>

        <ChildProductCode><![CDATA[0438662698837,0438662698172,0438662697144,0438662698417,0438662698035,0438662699056,0438662696666,0438662694228,0438662699155,0438662695102,0438662696017,0438662694617]]></ChildProductCode>

        <EventCodes/>

        <AvgUnitCost/>

      ..

      ..

      ..

      ..

      ..

      </Offer>

      </Offers>