I'm receiving data via an XML API and it's returning a node like the following:
<?xml version='1.0' encoding='utf-8' ?>
<location>
<name>ØL Shop</name>
</location>
I have no control over the response but I am trying to Load it into an XDocument in which it fails due to the invalid character.
Is there anything I can do to make this load properly? I want to keep the solution as general as possible because it is possible other invalid characters exist.
Thoughts?