https://bz.apache.org/bugzilla/show_bug.cgi?id=64837
Bug ID: 64837
Summary: In POI 3.17 xmlText prints the inner string of the
CTText element (as fragment) instead of the whole xml
node with <w:t>
Product: POI
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: XWPF
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
// Why print fragment instead of <w:t>?
CTText tmpTextNode = CTText.Factory.newInstance();
tmpTextNode.setStringValue("A");
XmlOptions opts = new XmlOptions();
opts.setSaveOuter();
opts.setSaveNoXmlDecl();
System.out.println(tmpTextNode.xmlText(opts));
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]