Announcement

Collapse
No announcement yet.

XML with 0a 0a in text errors

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • XML with 0a 0a in text errors

    Hello all

    I have a channel setup to read an XML text file from a file share and convert it to HL7.
    inconing data is set to XML, encoding utf-8 (changing this did not seem to help)

    When the file is read by my channel I am receiving an error:
    Transformer conversion error
    error adapting message
    XML document structures must start and end within the same entity


    I have isolated the cause to be dual line feed characters (0a0a) in a free text section of the radiology report that I am turning into the HL7 message.
    The dual line feeds appear as 0A0A in a hex editor.

    In the Raw message tab for my channel I see the XML up to the place where the two line feeds (oaoa) are. the remainder of the XML file is not shown (it seems the XML parser has choked on the two line feeds ??


    how can I get mirth 1.5.0.2272 to accept my XML ?

  • #2
    Re:XML with 0a 0a in text errors

    http://www.mirthproject.org/index.ph...d=3214&catid=2
    Jon Bartels

    Zen is hiring!!!!
    http://consultzen.com/careers/
    Talented healthcare IT professionals wanted. Engineers to sales to management.
    Good benefits, great working environment, genuinely interesting work.

    Comment


    • #3
      Re:XML with 0a 0a in text errors

      If you are using a File Reader, try checking off the "Process Batch Files" check box.

      Comment


      • #4
        Re:XML with 0a 0a in text errors

        Thanks to all.

        Turning off "process batch files" did the trick.

        Can someone direct me to an explanation of what Process batch files" does/means ?

        Thanks again

        Comment


        • #5
          Re:XML with 0a 0a in text errors

          It's defined for HL7 batch messages

          Comment

          Working...
          X