title: Can JAXB handle multiple "root" elements?
body: <p>I have a schema similar to the following...</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"&gt;
      &lt;xs:element name="t1" type="t1Type"/&gt;
      &lt;xs:element name="t2" type="t2Type"/&gt;
      &lt;xs:element name="t3" type="t3Type"/&gt;
  &lt;/xs:schema&gt;
  </code></pre>
  
  <p>At first I thought this was an invalid schema but all the checks I do online validate it. This means the person supplying the XML can send any (or all) the types listed and still conform to the schema. </p>
  
  <p>How do I go about mapping and unmarshalling all the different possibilities using JAXB?</p>
  
  <p>I have no idea which of them I will be recieving.</p>