From 3c83a073444415028bdcb5acec910d7de1a90825 Mon Sep 17 00:00:00 2001 From: Magesh Umasankar Date: Fri, 23 Nov 2001 19:37:38 +0000 Subject: [PATCH] Typo fix PR: 5029 Submitted by: Jesse Glick "jesse.glick@netbeans.com" git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270000 13f79535-47bb-0310-9956-ffa450edef68 --- .../tools/ant/taskdefs/optional/XMLValidateTask.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/XMLValidateTask.java b/src/main/org/apache/tools/ant/taskdefs/optional/XMLValidateTask.java index ffaca7f80..166dda8d7 100644 --- a/src/main/org/apache/tools/ant/taskdefs/optional/XMLValidateTask.java +++ b/src/main/org/apache/tools/ant/taskdefs/optional/XMLValidateTask.java @@ -97,7 +97,7 @@ public class XMLValidateTask extends Task { // The crimson implementation is shipped with ant. public static String DEFAULT_XML_READER_CLASSNAME= "org.apache.crimson.parser.XMLReaderImpl"; - protected static String INIT_FAILED_MSG = "Could'nt start xml validation: "; + protected static String INIT_FAILED_MSG = "Could not start xml validation: "; // ant task properties // defaults @@ -358,13 +358,13 @@ public class XMLValidateTask extends Task { toReturn = true; } catch (SAXNotRecognizedException e) { if (warn) - log("Could'nt set feature '" + log("Could not set feature '" + feature + "' because the parser doesn't recognize it", Project.MSG_WARN); } catch (SAXNotSupportedException e) { if (warn) - log("Could'nt set feature '" + log("Could not set feature '" + feature + "' because the parser doesn't support it", Project.MSG_WARN); @@ -388,9 +388,9 @@ public class XMLValidateTask extends Task { xmlReader.parse(is); } catch (SAXException ex) { if (failOnError) - throw new BuildException("Could'nt validate document " + afile); + throw new BuildException("Could not validate document " + afile); } catch (IOException ex) { - throw new BuildException("Could'nt validate document " + afile, ex); + throw new BuildException("Could not validate document " + afile, ex); } if (errorHandler.getFailure()) {