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

XmlConverter can't transform StAXSource when external xalan lib available

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.21.2, 2.22.1, 2.23.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      since external xalan impl doesn't support StAXSource, we should convert StAXSource to SAXSource firstly when external xalan is used

      Otherwise we will see exception like

      
      javax.xml.transform.TransformerException: Can't transform a Source of type javax.xml.transform.stax.StAXSource
      
      

        Attachments

          Activity

            People

            • Assignee:
              ffang Freeman Yue Fang
              Reporter:
              ffang Freeman Yue Fang
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: