I'm parsing an XLIFF document using the XDocument class. Does XDocument perform some validation of the content which I read into it, and if so - is there any way to disable that validation?
I'm getting some weird errors if the XLIFF isn't valid XML (I don't care that it isn't, I just want to parse it).
E.g.
'.', hexadecimal value 0x00, is an invalid character.
I'm currently reading the file like this:
string FileLocation = @"C:\XLIFF\text.xlf";
XDocument doc = XDocument.Load(FileLocation);
Thanks.
XDocument
work with it? – František Žiačik