SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


hexadecimal value 0x07, is an invalid character.


hexadecimal value 0x07, is an invalid character.

Author
Message
Jingzhihu
Jingzhihu
SSC Rookie
SSC Rookie (35 reputation)SSC Rookie (35 reputation)SSC Rookie (35 reputation)SSC Rookie (35 reputation)SSC Rookie (35 reputation)SSC Rookie (35 reputation)SSC Rookie (35 reputation)SSC Rookie (35 reputation)

Group: General Forum Members
Points: 35 Visits: 104
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
Orlando Colamatteo
Orlando Colamatteo
SSC-Dedicated
SSC-Dedicated (38K reputation)SSC-Dedicated (38K reputation)SSC-Dedicated (38K reputation)SSC-Dedicated (38K reputation)SSC-Dedicated (38K reputation)SSC-Dedicated (38K reputation)SSC-Dedicated (38K reputation)SSC-Dedicated (38K reputation)

Group: General Forum Members
Points: 38954 Visits: 14411
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
Attachments
4d7623d4.jpg (39 views, 10.00 KB)
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search