title: JAXB Marshaller - How do I suppress xmlns namespace attributes?
body: <p>I generate XML using JAXB2 for an standalone java app that uses maven 3, jaxb2, FIXML schemas and maven-jaxb2-plugin. When I marshall the XML, the output root element has xmlns attributes in them. How do I remove this?</p>
  
  <p><strong>From:</strong></p>
  
  <pre><code>&lt;root ... xmlns="http://www.fixprotocol.org/FIXML-4-4"&gt;...&lt;/root&gt;
  </code></pre>
  
  <p><strong>To:</strong></p>
  
  <pre><code>&lt;root ... &gt;...&lt;/root&gt;
  </code></pre>
  
  <p><strong>Edit:</strong></p>
  
  <p>package-info.java</p>
  
  <pre><code>@javax.xml.bind.annotation.XmlSchema(namespace = "http://www.fixprotocol.org/FIXML-4-4", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
  package com.package;
  </code></pre>