加载somefile.xml:xmlParseCharRef:无效的xmlChar值11

I'm trying to import an XML file but there is a character that is not not being accepted by PHP.

The only non-standard characters I am seeing are the @ symbol and some encoded characters &lt; for < &gt; for > and &amp; for &. Does XML have a hard time understanding any of these?

In an XML document you should always encode the following characters to ensure a proper parsing:

  • < should be encoded as &lt;
  • > should be encoded as &gt;
  • & should be encoded as &amp;
  • ' should be encoded as &#39;
  • " should be encoded as &quot;