Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

hexadecimal value 0x07, is an invalid character. Expand / Collapse
Author
Message
Posted Tuesday, March 8, 2011 8:47 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Tuesday, March 11, 2014 8:37 AM
Points: 5, Visits: 90
Hi All,

I have a link of http://www.idealist.org/feeds/volop_en.xml.bz2, from this link to download a zip file, and read its XML to store into SQL server 2008.

Tried to create a project at sql business intelligence development studio using "XML Source".

After I gave the file path, and selected "use inline schema", wanted to go to "Columns" at "XML Source Editor", immediately have a pop error msg box said that "Error at Data Flow Task [XML Source [1]]: There was an error setting up the mapping. '', hexadecimal value 0x07, is an invalid character. Line 15531, position 220."

Because this is a large xml file and that source xml file will be updated every night, I cannot manually to remove those characters.

Any idea?

Thank you in advance for your time,

ellen
Post #1074869
Posted Tuesday, March 8, 2011 12:47 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Friday, September 19, 2014 7:27 PM
Points: 7,107, Visits: 12,657
It's pretty much just what it says...the character represented by hex 0x07 is invalid with respect to XML and one exists in the document at the position noted in the error message. In the attachment you can see in the second position the "07".

You'll either need to cleanse the file first or have the data supplier fix their process to only produce valid XML characters.



__________________________________________________________________________________________________
There are no special teachers of virtue, because virtue is taught by the whole community. --Plato


  Post Attachments 
4d7623d4.jpg (12 views, 10.55 KB)
Post #1075066
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse