Error parsing XML

usekOpesy

New Member
I am trying to parse the string contents of an XML file that contains special characters in to an XDocument for further processing when I keep getting the following error:\[quote\] Name cannot begin with the '.' character, hexadecimal value 0x00. Line 1, position 8.\[/quote\]I do not have control over this file. All I can do is parse it from a network share that I have read access to. The file contents are as follows:\[code\]<?xml version="1.0" encoding="utf-16"?><ns0:SAEErr xmlns:ns0="http://xyz"><ErrorInformation>olsfdhfaskldhfksajdfkajsf</ErrorInformation><OriginalMessage>
 
Back
Top