Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

illegal xml 

Status
Not open for further replies.

Jawa

Programmer
Feb 21, 2002
74
US
Hi All,

While inserting some XML I am getting this error "illegal xml ", however I can not find out what it is and I have no clue on testing for it, to replace it. Trying to replace  in a replace() does nothing. Any thoughts? HELP!!!

Michael!
 
I don't know why, but you must think we are mind readers! surely, you don't expect us to help you if you can't or won't describe the situation adequately!

inserting into what? where?

where are you getting the "xml" from? is it in a variable?

etc, etc.

 
Mind Reader?

In any case, Text Pad revealed that x14 is an MS specific space.
 
OK: You said that replace() "does nothing." XML is plain text.

(1) Have you tried viewing the XML in a text editor to verify that it contains the illegal characters?

(2) Have you tried to debug the fact that replace() isn't working? For example, can you confirm that it isn't working? How cant you tell that is isn't working?
 
Once I dumped the XML into TextPad it revealed a ton of Illegal characters. I cleaned them up in TextPad and it works great. It was some wierd MS smart space type character.
 
That's great! But I thought you said that you had "no clue" on testing for it. it looks like you yelled for help before you tried anything.
 
No,

I got an answer off the cf-xml list!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top