title: Single String object unmarshal gives UnmarshalException
body: <p>I'm trying to unmarshall just a simple xml String.</p>
  
  <pre><code>&lt;?xml version="1.0" ?&gt;&lt;error&gt;No images were found for the pro(s) entered.&lt;/error&gt;
  </code></pre>
  
  <p>Here is my code.</p>
  
  <pre><code>             try{
                      jaxbContext = JAXBContext.newInstance(String.class);
                      Unmarshaller unmarshaller = jaxbContext.createUnmarshaller();
                      StringReader reader = new StringReader(output);
                      String error = unmarshaller.unmarshal(reader).toString();
  
                      RateQuoteError rateQuoteError = new RateQuoteError(error);
                      List&lt;RateQuoteError&gt; errorsList = new ArrayList&lt;RateQuoteError&gt;();
                      errorsList.add(rateQuoteError);
                      getPODResponse.setRateQuoteErrors(errorsList);
                  }
                  catch(UnmarshalException ume2)
                  { 
                      ume2.printStackTrace();
                  }
                  catch(Exception e)
                  {
                      e.printStackTrace();
                  }
  </code></pre>
  
  <p>May be this is the easiest unmarshalling exercise but im getting following error.</p>
  
  <pre><code>javax.xml.bind.UnmarshalException: unexpected element (uri:"", local:"error"). Expected elements are (none)
      at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent(UnmarshallingContext.java:662)
      at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:258)
      at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:253)
      at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportUnexpectedChildElement(Loader.java:120)
      at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext$DefaultRootLoader.childElement(UnmarshallingContext.java:1063)
      at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement(UnmarshallingContext.java:498)
      at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement(UnmarshallingContext.java:480)
      at com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.startElement(SAXConnector.java:150)
      at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509)
      at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:378)
  </code></pre>