Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-2720

XmlConverter omits XML declaration

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.3.0
    • camel-core
    • None

    Description

      org.apache.camel.converter.jaxp.XmlConverter is hardcoded to omit XML declaration when converting DOM document to string. Character encoding information is lost that way.

      Ideally there should be a way to override default output properties.

      See:
      http://fisheye6.atlassian.com/browse/camel/trunk/camel-core/src/main/java/org/apache/camel/converter/jaxp/XmlConverter.java?r=HEAD

      Attachments

        Activity

          People

            njiang Willem Jiang
            dragisak Dragisa Krsmanovic
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: