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.

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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