Solved

XML Illegal Box Type New Record/Line Character

Posted on 2014-01-20
4
298 Views
Last Modified: 2014-01-20
Hello,

I'm reading in an XML file into SQL.  Next it goes to a flat csv file.  
There's an illegal character that is causing it not to write the record correctly to the csv file.  The character starts a new record.  The character does go into the SQL record.

Can you help me determine what the character is?  

It looks like the attached picture.  And it causes a new record to start.  The picture is from the original XML file.  

Using asp.net vb
Capture.PNG
0
Comment
Question by:jshesek
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 35

Expert Comment

by:Dan Craciun
ID: 39794226
Open the XML with a hex editor (for ex. http://mh-nexus.de/en/hxd/) and see the character code.

HTH,
Dan
0
 
LVL 1

Author Comment

by:jshesek
ID: 39794249
Sorry to be stupid about this.  Downloaded the program - the attached file shows where the error is.
Capture.PNG
0
 
LVL 35

Accepted Solution

by:
Dan Craciun earned 500 total points
ID: 39794261
OK, then search for 0x0A7F and delete it.
0x usually means hex value, not sure it's the same in ASP.
0
 
LVL 1

Author Closing Comment

by:jshesek
ID: 39794344
With this tool I was able to identify the exact character then replace it.  
0A = Line Feed / Carraige Return
7F = Undefined


Thanks Dan
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question