title: facing issue while parsing xml containing xi:includes with jaxb
body: <p>I am using JAXB to parse xml's. I have a schema as below and also two xml files a.xml and b.xml defined on this schema. a.xml have a dependency over b.xml thru xi:include xml tag. Please file the below example for more clear data</p>
  
  <pre><code> I have followng schema definition:
  &lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"  attributeFormDefault="unqualified"&gt;
      &lt;xs:element name="Task"&gt;
      &lt;xs:complexType&gt;
          &lt;xs:sequence&gt;
              &lt;xs:element ref="Details" minOccurs="1" maxOccurs="unbounded"/&gt;
          &lt;/xs:sequence&gt;
      &lt;/xs:complexType&gt;
  &lt;/xs:element&gt;
  &lt;xs:element name="Details"&gt;
      &lt;xs:complexType&gt;
          &lt;xs:sequence&gt;
              &lt;xs:element name="NAme" type="xs:string"/&gt;
          &lt;/xs:sequence&gt;
      &lt;/xs:complexType&gt;
  &lt;/xs:element&gt;
  &lt;/xs:schema&gt;
  </code></pre>
  
  <p>Here are the two xml files:</p>
  
  <p>a.xml:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;Task xmlns:xi="http://www.w3.org/2001/XInclude"&gt;
  &lt;Details&gt;
      &lt;xi:include href="b.xml"/&gt;
  &lt;/Details&gt;
  &lt;/Task&gt;
  </code></pre>
  
  <p>b.xml:</p>
  
  <pre><code> &lt;?xml version="1.0" encoding="UTF-8"?&gt;
   &lt;Detail&gt;
    &lt;Name&gt;Name1&lt;/Name&gt;
   &lt;/Detail&gt;
  &lt;Detail&gt;
     &lt;Name&gt;Name2&lt;/Name&gt;
   &lt;/Detail&gt;
  </code></pre>
  
  <p>Now I am parsing this using JAXB SAXFactory as:</p>
  
  <pre><code> JAXBContext jaxbcon = JAXBContext.newInstance("schema-definition-jaxb-files");
   unmar = jaxbcon.createUnmarshaller();
  
   SAXParserFactory spf = SAXParserFactory.newInstance();
   spf.setXIncludeAware(true);
   XMLReader xr = spf.newSAXParser().getXMLReader();
   SAXSource source = new SAXSource(xr, new InputSource(new    FileInputStream(xmlfilename)));
   Object obj = unmar.unmarshal(source);
  </code></pre>
  
  <p>The parsing is successfull but the <em>Details</em> JAXB tag object is null. Anyhow the     xi:include tag in a.xml file is not flattened. any idea?</p>