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!!!
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?
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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.