You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by je...@locus.apache.org on 2000/06/20 23:36:11 UTC
cvs commit: xml-xerces/java/src/org/apache/xerces/validators/datatype StringDatatypeValidator.java
jeffreyr 00/06/20 14:36:10
Modified: java/src/org/apache/xerces/validators/datatype
StringDatatypeValidator.java
Log:
fixed some messages in pattern validation and lexic. comp
Revision Changes Path
1.7 +3 -3 xml-xerces/java/src/org/apache/xerces/validators/datatype/StringDatatypeValidator.java
Index: StringDatatypeValidator.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/validators/datatype/StringDatatypeValidator.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- StringDatatypeValidator.java 2000/06/20 20:42:11 1.6
+++ StringDatatypeValidator.java 2000/06/20 21:36:08 1.7
@@ -73,7 +73,7 @@
* @author Ted Leung
* @author Kito D. Mann, Virtua Communications Corp.
* @author Jeffrey Rodriguez
- * @version $Id: StringDatatypeValidator.java,v 1.6 2000/06/20 20:42:11 ericye Exp $
+ * @version $Id: StringDatatypeValidator.java,v 1.7 2000/06/20 21:36:08 jeffreyr Exp $
*/
public class StringDatatypeValidator extends AbstractDatatypeValidator{
private Locale fLocale = null;
@@ -373,7 +373,7 @@
comparisonResult = compare( content, fMinInclusive );
if ( comparisonResult <= 0 )
throw new InvalidDatatypeValueException( "Value '"+content+ "' must be" +
- "lexicographically greater or equal than" + fMinInclusive );
+ "lexicographically greater or equal than '" + fMinInclusive + "'." );
}
@@ -381,7 +381,7 @@
RegularExpression regex = new RegularExpression(fPattern, "X" );
if ( regex.matches( content) == false )
throw new InvalidDatatypeValueException("Value'"+content+
- "does not match regular expression facet" + fPattern );
+ "' does not match regular expression facet'" + fPattern + "'." );
}
}