title: Camel 2.12.3 gives exception related to XmlConverter
body: <p>I am getting the following exception at runtime after switching from <code>Camel 2.12.2</code> to <code>Camel 2.12.3</code>
  I get same exception even with <code>Camel 2.13.0</code> and <code>Camel 2.13.1</code> also.</p>
  
  <pre><code>Caused by: java.lang.UnsupportedOperationException: This class does not support JDK1.5
      at weblogic.xml.jaxp.RegistryTransformerFactory.setFeature(RegistryTransformerFactory.java:317)
      at org.apache.camel.converter.jaxp.XmlConverter.createTransformerFactory(XmlConverter.java:994)
  </code></pre>
  
  <p>I am usnig <code>Java6</code>,<code>Tomcat6.0.36</code>. Also i do have <code>xalan 2.7.1</code>.</p>
  
  <p>I googled it and came across following workaround also:</p>
  
  <p><a href="http://camel.465427.n5.nabble.com/Problem-with-XmlConverter-after-upgrade-to-2-12-3-td5748082.html#none" rel="nofollow">http://camel.465427.n5.nabble.com/Problem-with-XmlConverter-after-upgrade-to-2-12-3-td5748082.html#none</a></p>
  
  <p><a href="http://docs.oracle.com/javase/7/docs/api/javax/xml/transform/TransformerFactory.html#newInstance%28%29" rel="nofollow">http://docs.oracle.com/javase/7/docs/api/javax/xml/transform/TransformerFactory.html#newInstance()</a></p>
  
  <pre><code>. Add system properties : (any one of below implementation class works fine)
  -Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl
  -Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl
  -Djavax.xml.transform.TransformerFactory=net.sf.saxon.TransformerFactoryImpl
  </code></pre>
  
  <p>. Or you can add a “<code>jaxp.properties</code>” in your <code>jre\lib</code> folder 
                  With contents of <code>javax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl   (Again here also you can give any of above 3 implementation class)</code></p>
  
  <p>Problem is i am not getting whats happening internally that makes it work with <code>camel 2.12.2</code> and fails with newer versions. And why it is showing a wrong message complaing about <code>jdk1.5</code> ?</p>
  
  <p>I think problem is somehwhere it is not able to find correct implementation of <code>TransformerFactory</code> 
  at this point (not sure)</p>
  
  <pre><code>TransformerFactory factory = TransformerFactory.newInstance();
  </code></pre>
  
  <p>Thanks in advance.</p>