[
https://issues.apache.org/jira/browse/CXF-1470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12584211#action_12584211
]
Sean O'Callaghan commented on CXF-1470:
---------------------------------------
Can reproduce the problem with the following code:
InputStream is1 =
FooTest.class.getResourceAsStream("GreetMeDocLiteralReq1.xml");
Document document = org.apache.cxf.helpers.DOMUtils.readXml(is1);
XmlObject xml = XmlObject.Factory.parse(document);
Node node = xml.getDomNode();
//System.out.println(((Document)node).getXmlStandalone());
TransformerFactory tf = TransformerFactory.newInstance();
Transformer t = tf.newTransformer();
t.setOutputProperty(OutputKeys.INDENT, "yes");
t.transform(new DOMSource(node), new StreamResult(System.out));
} catch (Exception ex) {
ex.printStackTrace();
}
The commented out System.out also reproduces issue, but using Transformer is
the manner in which the error appears in CXF.
> js_provider demo fails using jdk1.6.0_04
> ----------------------------------------
>
> Key: CXF-1470
> URL: https://issues.apache.org/jira/browse/CXF-1470
> Project: CXF
> Issue Type: Sub-task
> Reporter: Sean O'Callaghan
> Assignee: Sean O'Callaghan
> Fix For: 2.1
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.