mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
avoid extra Text nodes (ignoringBoundaryWhitespace) — our second SaxBuilder (jdom.kt) uses it for several years already without any regression
To avoid regressions, ignoringElementContentWhitespace is still false (our second SaxBuilder uses true, but... for not it is not safe (it is very sensitive area and better to turn it on later))
This commit is contained in:
@@ -246,6 +246,7 @@ public class JDOMUtil {
|
||||
return new InputSource(new CharArrayReader(ArrayUtil.EMPTY_CHAR_ARRAY));
|
||||
}
|
||||
});
|
||||
saxBuilder.setIgnoringBoundaryWhitespace(true);
|
||||
ourSaxBuilder.set(new SoftReference<SAXBuilder>(saxBuilder));
|
||||
}
|
||||
return saxBuilder;
|
||||
|
||||
Reference in New Issue
Block a user