BookmarkSubscribeRSS Feed
Abraham
Obsidian | Level 7

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.

2 REPLIES 2
Var_Jog
Calcite | Level 5

As mentioned in that link, changing parsing validation level from 'High' to 'Minimal' worked. But just trying to find out adverse effects (if any) of not using 'High' validation when parsing. Can anyone provide futher information as to which option is used as a 'default' or there are any rules around parsing levels. Thanks.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 2739 views
  • 1 like
  • 3 in conversation