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

Content-Type in CXF works with semicolon in Fuse 6 but no in Fuse 7

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Critical Critical
    • None
    • fuse-7.13-GA
    • CXF
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Todo
    • Very Likely

      In Fuse 6, it is possible to use Content-Type: text/xml;

      It does not work in Fuse 7. Fuse 7 accepts only text/xml (without semicolon).Example file is attached replicate.txt

      Error is this:
      Stack Trace for CXFOUT java.lang.IllegalArgumentException: failed to parse:text/xml;

      Evidently, Fuse 7 cannot parse the semicolon in text/xml;

      If I look at Apache CXF, it should be without semicolon:

      • "Content-Type" : default is "text/xml"

      Also, in point 5.1 here: https://www.rfc-editor.org/rfc/rfc2387

      So it seems the specification is without semicolon, and Fuse 6 did not follow it strictly?

        1. replicate.txt
          1 kB
          Zdenek Strmiska

              Unassigned Unassigned
              rhn-support-zstrmisk Zdenek Strmiska
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: