diff --git a/relaxng/datatype/java/src/org/whattf/datatype/AbstractDatetime.java b/relaxng/datatype/java/src/org/whattf/datatype/AbstractDatetime.java
index <HASH>..<HASH> 100755
--- a/relaxng/datatype/java/src/org/whattf/datatype/AbstractDatetime.java
+++ b/relaxng/datatype/java/src/org/whattf/datatype/AbstractDatetime.java
@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 2006 Henri Sivonen
+ * Copyright (c) 2010 Mozilla Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a 
  * copy of this software and associated documentation files (the "Software"), 
@@ -198,7 +199,7 @@ abstract class AbstractDatetime extends AbstractDatatype {
             }
         } else {
             throw newDatatypeException(
-                    "The literal did not satisfy the date format.");
+                    "The literal did not satisfy the " + getName() + " format.");
         }
     }
refine error messages from subclasses of AbstractDatetime

subclasses were all simply reporting "The literal did not satisfy the date
format" but should instead be reporting more specifically, e.g., "The
literal did not satisfy the datetime with timezone format", etc.

--HG--
extra : convert_revision : svn%3Ae<I>-c<I>-<I>-<I>-<I>d<I>ca<I>/trunk%<I>