122123124125126127128129130131132
catch ( IOException e ) { throw new ParseException( "Error reading the model: " + e.getMessage(), e ); } new XmlValidator( getLog() ).validate( content ); src = new StringReader( content ); } // 2 second parsing to process
908909910911912913914915916917918
try { String content = IOUtil.toString( new BufferedReader( source ) ); new XmlValidator( new PlexusLoggerWrapper( getLogger() ) ).validate( content ); return new StringReader( content ); } finally {
676677678679680681682683684685686
915916917918919920921922923924925