Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Generate XSD Error using XML Source

$
0
0

So our vendor has provided us an .xls file which is really a .xml file. I am attempting to then pump that data into a SQL Server Table using "XML Source". When I reference the file within the "XML Source" and attempt to "Generate XSD" I get an error which states...

"An error occurred while parsing EntitiyName. Line 286, position 86."

When I actually look at the file, I think the error is actually being caused by the data contents. And what I see is this...

"John Doe, MD, PC / FemmPro OB/GYN"

I believe the forward slash "/" is causing the error because that's the delimeter for an XML Data field. And specifically, I believe the problem is caused because the forward slash "/" is preceded and followed by a <blank>. I looked elsewhere throughout the file and have data contents specifically of "N/A" but I think that's ok because the forward slash "/" is NOT sandwiched by <blanks>.

Can anyone suggest or help me get through this in terms of generating this XSD that's needed to process this file? Do I need to create a derived column to feel this out and fix it?

Any help is GREATLY appreciated. I'm at a loss as to how to about processing this file.

Thanks for your review and am hopeful for a reply.

PSULionRP


Viewing all articles
Browse latest Browse all 24688

Trending Articles