* Create a new <code>SAXParserFactoryImpl</code> instance.
*/
protected SAXParserImpl(boolean namespaces, boolean validation)
throws ParserConfigurationException {
this();
SAXParser p=new SAXParser();
try {
p.setFeature("http://xml.org/sax/features/namespaces",namespaces);
} catch (SAXException e) {
throw new ParserConfigurationException("Cannot set namespace "+
"awareness to "+namespaces);
}
try {
p.setFeature("http://xml.org/sax/features/validation",validation);
} catch (SAXException e) {
throw new ParserConfigurationException("Cannot set validation to "+
validation);
}
this.namespaces=namespaces;