You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2013/06/28 08:46:21 UTC
[jira] [Commented] (CAMEL-6474) DOM2SAX doesn't provide the full
support of SAX
[ https://issues.apache.org/jira/browse/CAMEL-6474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13695287#comment-13695287 ]
Claus Ibsen commented on CAMEL-6474:
------------------------------------
Wonder if we should keep this change to 2.12 only, eg as a change like this in a patch release is not something I like to do. As XML / SAX / DOM et all can be tricky to work well in all JDKs / OS / Containers etc.
> DOM2SAX doesn't provide the full support of SAX
> -----------------------------------------------
>
> Key: CAMEL-6474
> URL: https://issues.apache.org/jira/browse/CAMEL-6474
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Affects Versions: 2.11.0
> Reporter: Willem Jiang
> Assignee: Willem Jiang
> Fix For: 2.11.1
>
>
> XmlConverter will convert the DomSource into SAXSource when it can find the org.apache.xalan.xsltc.trax.DOM2SAX.
> But the DOM2SAX doesn't provide the full support of SAX, which causes the NPE issue when we route the SAXSource into xslt transformer like saxon transformer.
> Here are some discussion on saxon support https://saxonica.plan.io/issues/1814.
> BTW, when I changed the transformer to the xalan one, I still the java.util.EmptyStackException.
> So my suggest we need to diable this convertor until we find other good solution.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira