umagesh 01/11/23 11:37:38
Modified: src/main/org/apache/tools/ant/taskdefs/optional
XMLValidateTask.java
Log:
Typo fix
PR: 5029
Submitted by: Jesse Glick "[EMAIL PROTECTED]"
Revision Changes Path
1.9 +5 -5
jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/XMLValidateTask.java
Index: XMLValidateTask.java
===================================================================
RCS file:
/home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/XMLValidateTask.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- XMLValidateTask.java 2001/11/06 11:08:34 1.8
+++ XMLValidateTask.java 2001/11/23 19:37:38 1.9
@@ -97,7 +97,7 @@
// 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 @@
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 @@
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()) {
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>