smongiar commented on PR #27154: URL: https://github.com/apache/camel/pull/27154#issuecomment-5928087990
The converter mechanism is understood, although the deeper source-selection ordering issue is not fully isolated yet. In the CXF/Saxon path, Saxon can request a StAXSource while the generic converter registry returns a DOMSource containing the document element; in other fresh runs the selected result is a SAXSource. The DOMSource(Element) form changes the document-root template context. This PR normalizes the implicit result after source-handler dispatch, so both observed forms receive consistent XSLT document-root behavior. The separate converter-registry behavior may affect other XML consumers such as XPath, XQuery or validator, so it should be tracked in a separate Camel issue rather than expanded into this XSLT fix. The focused regression tests cover the fallback path and explicit Source compatibility. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
