title: Jax2bMarshaller setClassesToBeBound and extra xmlns
body: <p>I'm using Jaxb2Marshaller and bound multiple classes to it. When I marshal, the object appears to be mapped to xml, but there are multiple xmlns to other objects that were not related to the mapped object. Is there a way to avoid unrelated xmlns from appearing in output, preferably without modifying the base objects?</p>
  
  <p>on Bike Object:</p>
  
  <pre><code>@XmlElement(name = "bike", namespace = "http://company.com/bike", required = true)
  </code></pre>
  
  <p>on Bus object</p>
  
  <pre><code>@XmlElement(name = "bus", namespace = "http://company.com/bus", required = true)
  </code></pre>
  
  <p>Code</p>
  
  <pre><code>Jaxb2Marshaller marshaller = new Jaxb2Marshaller();
  marshaller.setClassesToBeBound(com.company.bike.class, com.company.bus.class, com.company.car.class);
  
  StringWriter outWriter = new StringWriter();
  StreamResult result = new StreamResult( outWriter );
  
  Class bike = new Bike();
  bike.setBikeType("fast-bike");
  marshaller.marshal(bike, result);
  </code></pre>
  
  <p>Result</p>
  
  <pre><code> &lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
  &lt;ns4:bike xsi:schemaLocation="" xmlns:ns2="http://company.com/bike" xmlns:ns4="http://company.com/bus" xmlns:ns1="http://company.com/car" xmlns:ns3="http://company.com/bike-type"&gt;
      &lt;ns3:bike-type&gt;
        fast-bike
      &lt;/ns3:bike-type&gt;
  &lt;/ns4:bike&gt;
  </code></pre>