DATA Step, Macro, Functions and more

Getting error while importing xml file

Reply
Contributor
Posts: 63

Getting error while importing xml file

[ Edited ]

Hi Everyone I am getting below error in log file while importing an XML file. I use below SAS code. How to resolve it

filename xx temp;

libname xx xmlv2 '/DIT/Quo/ABCDE-ASTEST-20171027153917_10000004355.xml' automap=replace xmlmap=xx;

proc copy in=xx out=work;

run;

Error

NOTE: Remote submit to SERVER commencing. ERROR: The creation of the XML Mapper file failed. ERROR: Error in the LIBNAME statement. NOTE: Parsing with high validation. WARNING: XMLMap parser encountered XML issue Exception class: org.xml.sax.SAXParseException ID: Message: schema_reference.4: Failed to read schema document use 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Line: 1 Column: 272 ERROR: Libref XX is not assigned.

Contributor
Posts: 28

Re: Getting error while importing xml file

Ask a Question
Discussion stats
  • 1 reply
  • 218 views
  • 0 likes
  • 2 in conversation