title: Cannot Read XML file from https:// site
body: <p>Running R 3.2.0, R Studio 0.99.441, Windows 7 32-bit, XML package 3.98-1.2</p>
  
  <p>I am trying to read a XML file from the site below using XML package, and xmlTreeParse but keep getting an error.</p>
  
  <p><a href="https://d396qusza40orc.cloudfront.net/getdata%2Fdata%2Frestaurants.xml" rel="nofollow">https://d396qusza40orc.cloudfront.net/getdata%2Fdata%2Frestaurants.xml</a></p>
  
  <pre><code>&gt; fileURL &lt;- "https://d396qusza40orc.cloudfront.net/getdata%2Fdata%2Frestaurants.xml"
  &gt; doc &lt;- xmlTreeParse(fileURL, useInternal = TRUE)
  Error: XML content does not seem to be XML: 'https://d396qusza40orc.cloudfront.net/getdata%2Fdata%2Frestaurants.xml' 
  </code></pre>
  
  <p>I also tried download.file () with xmlTreeParse</p>
  
  <pre><code>download.file(fileURL, destfile = "data.xml")
  doc &lt;- xmlTreeParse("data.xml", useInternalNodes = TRUE)
  </code></pre>
  
  <p>When I do this there is no immediate error but the varibale 'doc' has no structure and I'm not sure how to read it from this point.</p>