PDA

View Full Version : Unrecognised XML characters


crmpicco
05-17-2005, 03:37 PM
When running my XML file through Altova XMLSpy i get this error when it view it:

Your file contains 10 characters it should not, these are

#150; (0x96), #146; (0x92)

Does anyone know what chars these are?

TIA.

Picco

glenngv
05-18-2005, 05:59 AM
– - long hyphen (–)
’ - curly closing single quote (’)

Enclose the value in CDATA (http://www.w3schools.com/xml/xml_cdata.asp) section so that XML parsers ignore them.

Or you can also replace & with &

<data>&amp;#150; &amp;#146;</data>