]
Dmitrii Tikhomirov commented on WFLY-7345:
------------------------------------------
[~penczek] I can't reproduce it, may i ask you to attach a maven example ?
Fix big jboss-beans.xml files truncation
----------------------------------------
Key: WFLY-7345
URL:
https://issues.jboss.org/browse/WFLY-7345
Project: WildFly
Issue Type: Bug
Components: POJO
Affects Versions: 10.1.0.Final
Reporter: Leonardo Penczek
Assignee: Ales Justin
Attachments: Test.java, TestMBean.java, test-jboss-beans.xml
If the jboss-beans.xml file is big enough, the value of a property.may be truncated,
Fix for this problem:
In the org.jboss.as.pojo.KernelDeploymentParsingProcessor constructor, add this line of
code:
inputFactory.setProperty("javax.xml.stream.isCoalescing",
Boolean.valueOf(true));
It prevents the truncation.