Help using Base SAS procedures

Error while generating XML Map in XML Mapper

Accepted Solution Solved
Reply
Frequent Contributor
Posts: 98
Accepted Solution

Error while generating XML Map in XML Mapper

Hi,

I got following message when I tried to open attached xml file in SAS xml mapper 9.4:

schema_reference.4: Failed to read schema document 'EdgeServerEnrollmentSubmission.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.

But I can import same xml in MS Access without any issue and it gives me following 4 tables:

  1. EdgeServerEnrollmentSubmission
  2. IncludedEnrollmentIssuer
  3. IncludedInsuredMember
  4. includedInsuredMemberProfile

Any suggestion??


Accepted Solutions
Solution
‎02-18-2015 03:51 PM
Frequent Contributor
Posts: 98

Re: Error while generating XML Map in XML Mapper

Oh I got it. I worked when I changed XML parsing validation level from "High" to "Minimal". But still wondering why did it fail at higher level of validation.

View solution in original post


All Replies
SAS Super FREQ
Posts: 709

Re: Error while generating XML Map in XML Mapper

Open the file as XML file in the SAS XML Mapper Application, go to Tools -> Automap using XML

You will get the same tables as you mentioned. See screenshot

Frequent Contributor
Posts: 98

Re: Error while generating XML Map in XML Mapper

Posted in reply to Bruno_SAS

Its so strange. As I mentioned, even I am not able to open this xml file in SAS Mapper. It gives me above mentioned error message.

I can open and create map for other simple xml files but not for this.

I'm using SAS Mapper 9.4

Solution
‎02-18-2015 03:51 PM
Frequent Contributor
Posts: 98

Re: Error while generating XML Map in XML Mapper

Oh I got it. I worked when I changed XML parsing validation level from "High" to "Minimal". But still wondering why did it fail at higher level of validation.

SAS Super FREQ
Posts: 709

Re: Error while generating XML Map in XML Mapper

Glad you found the option. Mine was already set like this, I was lucky;-)

🔒 This topic is solved and locked.

Need further help from the community? Please ask a new question.

Discussion stats
  • 4 replies
  • 859 views
  • 3 likes
  • 2 in conversation