final String text, final int contextSize, final XmlPrintMode xmlMode,
final Language lang, final Language motherTongue) {
final StringBuilder xml = new StringBuilder();
if (xmlMode == XmlPrintMode.NORMAL_XML || xmlMode == XmlPrintMode.START_XML) {
xml.append("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
<BUG>xml.append("<matches software=\"LanguageTool\" version=\"" + JLanguageTool.VERSION + "\"" +

" buildDate=\"" + JLanguageTool.BUILD_DATE + "\">\n");
}</BUG>
if (lang != null || motherTongue != null) {

final String text, final int contextSize, final XmlPrintMode xmlMode,
final Language lang, final Language motherTongue) {
final StringBuilder xml = new StringBuilder();
if (xmlMode == XmlPrintMode.NORMAL_XML || xmlMode == XmlPrintMode.START_XML) {
xml.append("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
xml.append("<matches software=\"LanguageTool\" version=\"" + JLanguageTool.VERSION + "\"" + " buildDate=\"")
.append(JLanguageTool.BUILD_DATE).append("\">\n");
}
if (lang != null || motherTongue != null) {
