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

XmlConverter can't transform StAXSource when external xalan lib available

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.21.2, 2.22.1, 2.23.0
    • camel-core
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: