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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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.

SAS Training: Just a Click Away

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

Browse our catalog!

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