Structured Doc Text is null [message #1821562] |
Fri, 14 February 2020 18:53 |
Kalyan Dasika Messages: 7 Registered: August 2017 |
Junior Member |
|
|
In the following code block, if you run it as a unit test, it works. But uncommenting the line that includes the special character "À" results in a null on the section-text.
String html="<table border=\"1\" width=\"100%\"><thead><tr><th>Date</th><th>Goal</th></tr></thead><tbody><tr ID=\"Goal1\"><td>02/14/2020</td><td>Goals section - " +
// "À\n" +
"• Are orders being placed at the hospital system from this facility? No\n" +
"a & b\n" +
"a > b\n" +
"a < b\n" +
" 10/31/19: Lab orders only at this time. </td></tr></tbody></table>";
GoalsSection section = ConsolFactory.eINSTANCE.createGoalsSection().init();
section.setTitle(DatatypesFactory.eINSTANCE.createST("Goals"));
section.createStrucDocText(html);
assertNotNull(section.getText());
Is there a limited set of characters that are supported for creating a strucDocText?
[Updated on: Fri, 14 February 2020 18:59] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04729 seconds