Date lastModifiedDate) throws ServerException {
// check for valid xml name for datastream ID
if (datastreamId != null) {
if (!XMLUtils.isWellFormedXMLName(datastreamId)) {
throw new InvalidXMLNameException("Invalid syntax for "
+ "datastream ID. The datastream ID of \""
+ datastreamId + "\" is not a valid XML Name");
}
}