Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-9152

camel-fhir marshalling produces different closing tag on Karaf and spring-boot

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Minor
    • fuse-7.x-GA
    • fuse-7.1
    • Camel
    • None

    Description

      When using simple camel route like this one:

      <route>
      	<from uri="direct:marshal"/>
      		<marshal>
      			<fhirXml/>
      		</marshal>
      	<to uri="mock:marshaled"/>
      </route>

      we get different results. on Karaf:

      <Patient xmlns="http://hl7.org/fhir">
      	<name>
      		<family value="Holmes"/>
      		<given value="Sherlock"/>
      	</name>
      	<address>
      		<line value="221b Baker St, Marylebone, London NW1 6XE, UK"/>
      	</address>
      </Patient>

      on spring-boot

      <Patient xmlns="http://hl7.org/fhir">
      	<name>
      		<family value="Holmes"></family>
      		<given value="Sherlock"></given>
      	</name>
      	<address>
      		<line value="221b Baker St, Marylebone, London NW1 6XE, UK"></line>
      	</address>
      </Patient>

      The values are equal, only the closing tag is different. Is this because different marshalling implementations are used?

      Attachments

        Activity

          People

            johnpoth John Poth
            jkasztur@redhat.com Jan Kasztura (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: