Hi,
just ran into the following problem. With JDK1.5 these lines didn't make a problem:
SAXParserFactory saxPF = SAXParserFactory.newInstance();
SAXParser parser = saxPF.newSAXParser();
//disable validation of DTD/XSD (in case there is no DTD file in the current directory)
parser.setProperty("http://apache.org/xml/features/nonvalidating/load-external-dtd", false);
parser.parse(this.file, this);
But since I had to install JDK1.6, all I get is this:
org.xml.sax.SAXNotRecognizedException: Property 'http://apache.org/xml/features/nonvalidating/load-external-dtd' is not recognized.
The only reason I switched to 1.6 is that I ran into the OutOfMemory- problem in ZipFile - so I can't go back at the moment...
What am I doing wrong? Did something change in the syntax of the property or is this a bug in the jdk?