title: .XMLStreamException: ParseError at [row,col]:[53088,40] Message: The reference to entity "T" must end with the ';' delimiter
body: <p>I have got receive an xml inputstream with a URLConnection. However when i try to unmarshall the inputstream. It throw an exception.
  javax.xml.bind.UnmarshalException</p>
  <ul>
  <li>with linked exception:
  [javax.xml.stream.XMLStreamException: ParseError at [row,col]:[53088,40]
  Message: The reference to entity &quot;T&quot; must end with the ';' delimiter.]</li>
  </ul>
  <p>CODE:</p>
  <pre><code>try {
      URL url = new URL(hostURL);  
      URLConnection urlConnection = url.openConnection();  
      urlConnection.setRequestProperty(&quot;Accept&quot;, &quot;application/xml&quot;);
      urlConnection.setRequestProperty(&quot;Authorization&quot;, &quot;Basic &quot; + authDetails);
  
      InputStream inputStream = urlConnection.getInputStream();
  
      XMLInputFactory xif = XMLInputFactory.newInstance();
      xif.setProperty(&quot;javax.xml.stream.isCoalescing&quot;, true); 
      XMLStreamReader xsr = xif.createXMLStreamReader(inputStream);
  
       // Advance to the &quot;Packages&quot; element.
       while(xsr.hasNext()) {
           if(xsr.isStartElement() &amp;&amp; &quot;packages&quot;.equals(xsr.getLocalName())) {
               break;
           }
           xsr.next();
        }
       
       JAXBContext jaxbContext = JAXBContext.newInstance(Packages.class);
       Unmarshaller jaxbUnmarshaller = jaxbContext.createUnmarshaller();
       packages = (Packages) jaxbUnmarshaller.unmarshal(xsr);
      }catch (JAXBException e) {
       e.printStackTrace();
      }catch (MalformedURLException e) {
       e.printStackTrace();
      }catch (IOException e) {
       e.printStackTrace();
      }catch(Exception e){
       e.printStackTrace();
       }finally{
  
      }
  </code></pre>
  <p>PS: [row,col]:[53088,40] = newproductsite for T&amp;T evol</p>
  <p>You can find Stack traces in link <a href="http://pastebin.com/LuhbnMQq" rel="nofollow noreferrer">http://pastebin.com/LuhbnMQq</a></p>