If you have the doc URL then use: public static Document getDocument(URL url, boolean validateDTDs) throws DeploymentException
else, create the document stream and call: XmlFileLoader(boolean validateDTDs) public Document getDocument(InputStream is, String inPath) throws DeploymentException xxxxxxxxxxxxxxxxxxxxxxxx Scott Stark Chief Technology Officer JBoss Group, LLC xxxxxxxxxxxxxxxxxxxxxxxx ----- Original Message ----- From: "Dain Sundstrom" <[EMAIL PROTECTED]> To: "JBoss-dev" <[EMAIL PROTECTED]> Sent: Sunday, March 03, 2002 10:13 AM Subject: [JBoss-dev] XmlFileLoader and validation? > How can I know if there were no validation errors when loading a doc > with XmlFileLoader? > > I want to throw a DeploymentException if jbosscmp-jdbc.xml is not valid. > > -dain > > > _______________________________________________ > Jboss-development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development > _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
