From 9b3fd2b9e59513c109f8ad30e52052929cd37eff Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@6c8d7289-2bf4-0310-a012-ef5d649a1542> Date: Fri, 3 Nov 2006 19:48:33 +0000 Subject: [PATCH] *) removing doctype definition to avoid problems with xml parser git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2905 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/soap/services/AdminService.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/de/anomic/soap/services/AdminService.java b/source/de/anomic/soap/services/AdminService.java index a727b62ea..11b4525e4 100644 --- a/source/de/anomic/soap/services/AdminService.java +++ b/source/de/anomic/soap/services/AdminService.java @@ -616,13 +616,16 @@ public class AdminService extends AbstractService { // format them into xml XMLFormatter formatter = new XMLFormatter(); - buffer.append(formatter.getHead(logHandler)); + + // adding header and removing DTD definition + buffer.append(formatter.getHead(logHandler).replaceAll("", "")); // format the logging entries for (int i=0; i < log.length; i++) { buffer.append(formatter.format(log[i])); } + // adding tailer buffer.append(formatter.getTail(logHandler)); // convert into dom