129130131132133134135136137
} else { nonvalidatingDocumentBuilder = db; } return db; } catch (ParserConfigurationException e) { throw new JSMLException( "JSMLParser: " + e.getMessage()); } }
150151152153154155156157158
final DocumentBuilder db = getDocumentBuilder(validate); final Document doc; try { doc = db.parse(source); } catch (SAXException e) { throw new JSMLException("JSMLParser: " + e.getMessage()); } return doc; }