From c64d5018b45e56433b7ff6ceaf4ceafb214aed05 Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@6c8d7289-2bf4-0310-a012-ef5d649a1542> Date: Fri, 3 Nov 2006 19:34:31 +0000 Subject: [PATCH] *) Bugfix. Problem in XML Parser git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2903 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/soap/AbstractService.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source/de/anomic/soap/AbstractService.java b/source/de/anomic/soap/AbstractService.java index db45d56d7..961f016e7 100644 --- a/source/de/anomic/soap/AbstractService.java +++ b/source/de/anomic/soap/AbstractService.java @@ -293,11 +293,11 @@ public abstract class AbstractService { try { DocumentBuilderFactory newDocBuilderFactory = DocumentBuilderFactory.newInstance(); - // disable dtd validation - newDocBuilderFactory.setValidating(false); - newDocBuilderFactory.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false); - newDocBuilderFactory.setFeature("http://xml.org/sax/features/validation", false); - +// // disable dtd validation +// newDocBuilderFactory.setValidating(false); +// newDocBuilderFactory.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false); +// newDocBuilderFactory.setFeature("http://xml.org/sax/features/validation", false); +// DocumentBuilder newDocBuilder = newDocBuilderFactory.newDocumentBuilder(); ByteArrayInputStream byteIn = new ByteArrayInputStream(content);