title: xmltodict: ExpatError: syntax error: line 1, column 0, getting xml from QuickGO
body: <p>I'm finding myself a bit confused by the error I get from the following</p>
  
  <pre><code>from future.standard_library import install_aliases
  install_aliases()
  from urllib.request import urlopen
  import xmltodict
  
  oboxml = urlopen('http://www.ebi.ac.uk/QuickGO/GTerm?id=GO:0003723&amp;format=oboxml')
  obo_dict = oboxml.read()
  obo_dict_parse = xmltodict.parse(obo_dict)
  </code></pre>
  
  <p>which returns the error:</p>
  
  <p>ExpatError                                Traceback (most recent call last)
   in 
        6 oboxml = urlopen('<a href="http://www.ebi.ac.uk/QuickGO/GTerm?id=GO:0003723&amp;format=oboxml" rel="nofollow noreferrer">http://www.ebi.ac.uk/QuickGO/GTerm?id=GO:0003723&amp;format=oboxml</a>')
        7 obo_dict = oboxml.read()
  ----> 8 obo_dict_parse = xmltodict.parse(obo_dict)</p>
  
  <p>~/anaconda3/lib/python3.6/site-packages/xmltodict.py in parse(xml_input, encoding, expat, process_namespaces, namespace_separator, disable_entities, **kwargs)
      328         parser.ParseFile(xml_input)
      329     else:
  --> 330         parser.Parse(xml_input, True)
      331     return handler.item
      332 </p>
  
  <p>ExpatError: syntax error: line 1, column 0</p>
  
  <p>The xml file is being returned, so its not empty. But I'm not sure why the xml parser would be unhappy particularly as I'm following a tutorial notebook*. I'm using xmltodict 0.11.0-py36_1, installed and updated through anaconda.</p>
  
  <p>Any pointers much appreciated</p>
  
  <p>*Following notebook: goatools
  <a href="https://link.springer.com/protocol/10.1007/978-1-4939-3743-1_16" rel="nofollow noreferrer">https://link.springer.com/protocol/10.1007/978-1-4939-3743-1_16</a></p>