*) should fix some problems with RSS Importer (see http://forum.yacy-websuche.de/viewtopic.php?f=5&t=3253)

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7907 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
low012 13 years ago
parent c660f8862a
commit 95379ce0b1

@ -65,7 +65,7 @@ public class RSSReader extends DefaultHandler {
try {
final SAXParser saxParser = factory.newSAXParser();
// do not look at external dtd - see: http://www.ibm.com/developerworks/xml/library/x-tipcfsx/index.html
((XMLReader)saxParser).setEntityResolver(new EntityResolver() {
saxParser.getXMLReader().setEntityResolver(new EntityResolver() {
@Override
public InputSource resolveEntity(final String arg0, final String arg1)
throws SAXException, IOException {

Loading…
Cancel
Save