final String id = parseGmlId( xmlStream ); final QName elName = xmlStream.getName(); final GMLObjectType type = schema.getGmlObjectType( elName ); if ( type == null || type.getCategory() != TIME_SLICE ) { final String msg = elName + " is not a valid TimeSlice element.";