validation - dash operator causes error “xml parsing error :not well-formed” -


i replalcing - special character & ndash; html entity in xml content . if trying open xml file in browser throwing below error.

xml parsing error: not well-formed location:line number 14, column 35: sdi bullet ir camera full hd 1080p 1920x10803.3-12mm varifocal lens 1/3& ndash; 2mp cmos36 ir leds outdoor / indoor ----------------------------------^ .

i new xml. xml version "1.0". please help.

other handful of predefined entities such <, > etc, cannot use entities in xml unless declare them in doctype declaration. see example

how define html entity references inside valid xml document?


Comments