title: UnmarshalException when doing unmarshling of xml
body: <p>Exception javax.xml.bind.UnmarshalException: unexpected element (uri:"<a href="http://services.forddirect.fordvehicles.com/searchTest" rel="nofollow">http://services.forddirect.fordvehicles.com/searchTest</a>", local:"ClassName"). Expected elements are (none)</p>
  
  <p>I am pasting the code part by which I am doing unmarshling of xml </p>
  
  <pre><code>try {
  
          File file = new File("ReflectionInput.xml");
          JAXBContext jaxbContext = JAXBContext.newInstance(SearchTest.class);
          Unmarshaller jaxbUnmarshaller = jaxbContext.createUnmarshaller();
          SearchTest className = (SearchTest) jaxbUnmarshaller
                  .unmarshal(file);
          System.out.println(className);
  
      } catch(JAXBException e) {
          e.printStackTrace();
      }
  
  }
  </code></pre>
  
  <p>getting exception when unmarshalling from xml.</p>
  
  <pre><code>Exception javax.xml.bind.UnmarshalException: unexpected element (uri:"http://services.forddirect.fordvehicles.com/searchTest", local:"ClassName"). Expected elements are (none)
   at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent(UnmarshallingContext.java:647)
   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:1052)
   at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement(UnmarshallingContext.java:483)
   at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement(UnmarshallingContext.java:464)
   at com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.startElement(SAXConnector.java:152)
   at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
  </code></pre>
  
  <p>xsd file</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
   &lt;xs:schema xmlns="http://services.forddirect.fordvehicles.com/searchTest"
    attributeFormDefault="unqualified" elementFormDefault="qualified"
    targetNamespace="http://services.forddirect.fordvehicles.com/searchTest"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"&gt;
  
    &lt;xs:element name="SearchTest" type="searchTest"&gt;
    &lt;/xs:element&gt;
    &lt;xs:complexType name="searchTest"&gt;
     &lt;xs:sequence&gt;
      &lt;xs:element name="ClassName" type="className" minOccurs="0"
       maxOccurs="unbounded" /&gt;
     &lt;/xs:sequence&gt;
    &lt;/xs:complexType&gt;
  
    &lt;xs:complexType name="className"&gt;
     &lt;xs:sequence&gt;
      &lt;xs:element name="param" type="xs:string" minOccurs="0"
       maxOccurs="unbounded" /&gt;
     &lt;/xs:sequence&gt;
    &lt;/xs:complexType&gt; 
   &lt;/xs:schema&gt;
  </code></pre>
  
  <p>xml file</p>
  
  <pre><code>     &lt;?xml version="1.0" encoding="UTF-8"?&gt;
       &lt;ClassName xmlns="http://services.forddirect.fordvehicles.com/searchTest"&gt;
       &lt;param name ="make"&gt;Ford&lt;/param&gt;
         &lt;param name ="model"&gt;Mustang&lt;/param&gt;
         &lt;param name ="year"&gt;2011&lt;/param&gt;
         &lt;param name ="dealerPACode"&gt;2011&lt;/param&gt;
         &lt;param name ="segment"&gt;car&lt;/param&gt;
         &lt;param name ="segmentdefiner"&gt;NGP_ModelInfo_VehicleType&lt;/param&gt;
         &lt;param name           ="configtoken"&gt;Config[|Ford|Mustang|2014|1|1.|100A.P8A.....COU.~YZKAA.V6.LESS.]&lt;/param&gt;
    &lt;param name ="vin"&gt;3FA6P0H79DR338449&lt;/param&gt;
       &lt;/ClassName&gt;
  </code></pre>