title: org.krysalis.barcode4j.BarcodeException: No barcode configuration element not found
body: <p>I want to generate a barcode in svg from a barcode xml.
  I have followed this: <a href="http://barcode4j.sourceforge.net/2.1/barcode-xml.html" rel="nofollow noreferrer">http://barcode4j.sourceforge.net/2.1/barcode-xml.html</a></p>
  
  <p>The input should be a configuration object created out of an xml file.
  The "cfgFile"[barcode.xml] file is of the following format:</p>
  
  <pre><code>&lt;bc:barcode xmlns:bc="http://barcode4j.krysalis.org/ns" orientation="0" message="123456789"&gt;
      &lt;bc:code39&gt;
              &lt;bc:height&gt;15mm&lt;/bc:height&gt;
              &lt;bc:module-width&gt;0.19mm&lt;/bc:module-width&gt;
              &lt;bc:wide-factor&gt;2.5&lt;/bc:wide-factor&gt;
      &lt;/bc:code39&gt;
  &lt;/bc:barcode&gt;
  </code></pre>
  
  <p>When I try to send this as input to Barcode 4j:</p>
  
  <pre><code>DefaultConfigurationBuilder builder = new 
  DefaultConfigurationBuilder();
  File cfgFile = new File("barcode.xml");
  Configuration cfgnew = builder.buildFromFile(cfgFile);
  DocumentFragment frag = 
  BarcodeUtil.getInstance().generateSVGBarcode(cfgnew, "123456789");
  </code></pre>
  
  <p>I get the following error:</p>
  
  <pre><code>Caused by: org.krysalis.barcode4j.BarcodeException: No barcode configuration element not found
  at org.krysalis.barcode4j.BarcodeUtil.createBarcodeGenerator(Unknown Source) ~[Barcode4J-2.1.jar:?]
  at org.krysalis.barcode4j.BarcodeUtil.createBarcodeGenerator(Unknown Source) ~[Barcode4J-2.1.jar:?]
  at org.krysalis.barcode4j.BarcodeUtil.generateSVGBarcode(Unknown Source) ~[Barcode4J-2.1.jar:?
  </code></pre>
  
  <p>When I print a logger for cfgnew,
  I get this: 
  bc:barcode:::@file</p>