title: Mule ESB: XML to Map Conversion failure
body: <p>I have messages in my JMS topic that I want to read off &amp; use a Mule JDBC Database adapter to store in a table ,I understand that I have to convert the JMS XML messages to a map payload for easily putting it in JDBC.Here is the sample flow:</p>
  
  <pre><code>&lt;flow name="DBLoggerFlow"&gt;
    &lt;jms:inbound-endpoint topic="${topic.logTopic}"
           connector-ref="jmsConnector" doc:name="JMS"&gt;
      &lt;jms:transaction action="NONE" timeout="${queue.transaction.timeout}" /&gt;
    &lt;/jms:inbound-endpoint&gt;
    &lt;jdbc:xml-to-maps-transformer name="XMLToMaps"/&gt;
    &lt;jdbc:outbound-endpoint queryKey="insertion"
             connector-ref="insertionConnector"/&gt;
  &lt;/flow&gt;
  </code></pre>
  
  <p>However I get this error when I run the code:</p>
  
  <pre>
  ERROR 2013-02-01 13:00:26,427 [WrapperListener_start_runner] org.mule.module.launcher.application.DefaultMuleApplication: null
  org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'jdbc:xml-to-maps-transformer'. One of ' is expected.
          at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
          at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
          at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
          at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
          at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
          at org.apache.xerces.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(Unknown Source)
          at org.apache.xerces.impl.xs.XMLSchemaValidator.reportSchemaError(Unknown Source)
          at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source)
  </pre>
  
  <p>Why is the XML to Map conversion a problem here? Is there an alternative or better way of doing this?</p>