Mirth Connect 3.12.0 Released!

Mirth Connect 3.12.0 is now available as an appliance update and on our GitHub page. This release includes database performance improvements, improves visual HL7 representation, message pruning, keystore handling, PDF generation, community contributions, and fixes several security vulnerabilities. This release also contains many improvements to commercial extensions. See the release notes for the list of fixes and updates.

Download | See What's New | Upgrade Guide | Release Notes

For discussion on this release, see this thread.
See more
See less

Name space issue with file reader channel

  • Filter
  • Time
  • Show
Clear All
new posts

  • Name space issue with file reader channel

    I have a file reader channel picking up an xml file. The xml has a namespace and looks like this:

    <ns0:GoldCare_Assessment xmlns:ns0="http://GoldCareAIM.xsd">

    I have some javascript in my source transformer step 0:

    logger.error('transform setnamespace start');
    msg.setNamespace(new Namespace("ns0", "http://GoldCareAIM.xsd"));
    logger.error('transform setnamespace end');

    When the channel processes a message, I get the "Use of undefined namespace prefix: ns0"

    How do I handle the namespace and can I do it without modifying the message?